Kaynağa Gözat

Added "uses pointcut" relation to the ASM.

tags/V1_2_1
mkersten 19 yıl önce
ebeveyn
işleme
e19fc5d4b7

+ 3
- 3
docs/sandbox/api-clients/org/aspectj/samples/AsmHierarchyBuilderExtensionTest.java Dosyayı Görüntüle

@@ -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.

+ 1
- 1
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java Dosyayı Görüntüle

@@ -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);

Loading…
İptal
Kaydet