]> source.dussan.org Git - aspectj.git/commitdiff
Added "uses pointcut" relation to the ASM.
authormkersten <mkersten>
Thu, 14 Oct 2004 22:01:24 +0000 (22:01 +0000)
committermkersten <mkersten>
Thu, 14 Oct 2004 22:01:24 +0000 (22:01 +0000)
docs/sandbox/api-clients/org/aspectj/samples/AsmHierarchyBuilderExtensionTest.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java

index acef32cf02f721af00d56ee514963829ffe81fe9..11b99b11738342e9820cc567e9e3d6f87676d6f2 100644 (file)
@@ -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.
index 91b66db7d20e2baa6d10bb8df8bd364161331ca3..5a765c0e03573f45b8f44c0474f3c3b9fdd4b108 100644 (file)
@@ -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);