]> source.dussan.org Git - aspectj.git/commitdiff
Bug found during declare annotation structure model testing!
authoraclement <aclement>
Thu, 10 Mar 2005 20:34:46 +0000 (20:34 +0000)
committeraclement <aclement>
Thu, 10 Mar 2005 20:34:46 +0000 (20:34 +0000)
asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java

index 5d3d7a0a2e3e455b8604178383cfcfef1619d783..ec48fdd5f28b8fe29685d4ae50da41f97b7bc219 100644 (file)
@@ -113,7 +113,7 @@ public class AspectJElementHierarchy implements IHierarchy {
                        if (node.getKind() == kind && label.equals(node.toLabelString())) {
                                return node;
                        } else {
-                               IProgramElement childSearch = findElementForSignature(node, kind, label);
+                               IProgramElement childSearch = findElementForLabel(node, kind, label);
                                if (childSearch != null) return childSearch;
                        }
                }