From: mkersten Date: Thu, 14 Oct 2004 22:01:24 +0000 (+0000) Subject: Added "uses pointcut" relation to the ASM. X-Git-Tag: V1_2_1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e19fc5d4b74366078ed660cc9af140ffea07abd5;p=aspectj.git Added "uses pointcut" relation to the ASM. --- diff --git a/docs/sandbox/api-clients/org/aspectj/samples/AsmHierarchyBuilderExtensionTest.java b/docs/sandbox/api-clients/org/aspectj/samples/AsmHierarchyBuilderExtensionTest.java index acef32cf0..11b99b117 100644 --- a/docs/sandbox/api-clients/org/aspectj/samples/AsmHierarchyBuilderExtensionTest.java +++ b/docs/sandbox/api-clients/org/aspectj/samples/AsmHierarchyBuilderExtensionTest.java @@ -19,9 +19,9 @@ import org.aspectj.ajdt.internal.core.builder.AsmHierarchyBuilder; import org.aspectj.asm.AsmManager; import org.aspectj.asm.IProgramElement; import org.aspectj.asm.internal.ProgramElement; -import org.eclipse.jdt.internal.compiler.ast.MessageSend; -import org.eclipse.jdt.internal.compiler.lookup.BlockScope; - +import org.aspectj.org.eclipse.jdt.internal.compiler.ast.MessageSend; +import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BlockScope; + /** * This test demonstrates how hierarchy building in the ASM can be extended * to put additional information in the model, for example method call sites. diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java index 91b66db7d..5a765c0e0 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java @@ -95,7 +95,7 @@ public class AsmElementFormatter { setParameters(methodDeclaration, node); } else if (methodDeclaration instanceof PointcutDeclaration) { -// PointcutDeclaration pd = (PointcutDeclaration)methodDeclaration; + PointcutDeclaration pd = (PointcutDeclaration)methodDeclaration; node.setKind(IProgramElement.Kind.POINTCUT); node.setName(translatePointcutName(new String(methodDeclaration.selector))); setParameters(methodDeclaration, node);