Author: scabanovich
Date: 2010-04-06 07:13:35 -0400 (Tue, 06 Apr 2010)
New Revision: 21285
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-6146
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-06
10:44:52 UTC (rev 21284)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/impl/ClassBean.java 2010-04-06
11:13:35 UTC (rev 21285)
@@ -360,7 +360,7 @@
//2. Declaration of inheritable scope in a superclass.
ClassBean scb = getSuperClassBean();
while(scb != null) {
- scopes = getScopeDeclarations();
+ scopes = scb.getScopeDeclarations();
if(!scopes.isEmpty()) {
scope = scopes.iterator().next().getScope();
if(scope.getInheritedDeclaration() == null) {
@@ -383,7 +383,7 @@
}
scb = getSuperClassBean();
while(scb != null) {
- ss = getStereotypeDeclarations();
+ ss = scb.getStereotypeDeclarations();
for (IStereotypeDeclaration d: ss) {
IStereotype s = d.getStereotype();
if(s.getInheritedDeclaration() == null) {