Author: scabanovich
Date: 2010-04-07 11:10:36 -0400 (Wed, 07 Apr 2010)
New Revision: 21311
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6151
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java 2010-04-07
15:04:55 UTC (rev 21310)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java 2010-04-07
15:10:36 UTC (rev 21311)
@@ -364,7 +364,8 @@
if(!scopes.isEmpty()) {
scope = scopes.iterator().next().getScope();
if(scope.getInheritedDeclaration() == null) {
- scope = null;
+ scope = getCDIProject().getScope(CDIConstants.DEPENDENT_ANNOTATION_TYPE_NAME);
+ return;
} else {
return;
}