diff options
author | mkersten <mkersten> | 2004-10-14 22:01:24 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2004-10-14 22:01:24 +0000 |
commit | e19fc5d4b74366078ed660cc9af140ffea07abd5 (patch) | |
tree | 5b27f80232066f319d994056e2e577c64c578b9e | |
parent | 4a4d4b2612ab6bbd9c82dc03b08b13f696725bf3 (diff) | |
download | aspectj-e19fc5d4b74366078ed660cc9af140ffea07abd5.tar.gz aspectj-e19fc5d4b74366078ed660cc9af140ffea07abd5.zip |
Added "uses pointcut" relation to the ASM.
-rw-r--r-- | docs/sandbox/api-clients/org/aspectj/samples/AsmHierarchyBuilderExtensionTest.java | 6 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java | 2 |
2 files changed, 4 insertions, 4 deletions
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); |