From 3123880881836efb873481087cf9fcd81b1e4b15 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 10 Mar 2005 20:34:46 +0000 Subject: [PATCH] Bug found during declare annotation structure model testing! --- asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java index 5d3d7a0a2..ec48fdd5f 100644 --- a/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java +++ b/asm/src/org/aspectj/asm/internal/AspectJElementHierarchy.java @@ -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; } } -- 2.39.5