From 79c8ebbe4756a32b50741805d888e09a746c59da Mon Sep 17 00:00:00 2001 From: mkersten Date: Fri, 26 Sep 2003 05:38:11 +0000 Subject: [PATCH] Comment clean-up only. --- .../src/org/aspectj/weaver/AsmRelationshipProvider.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java index bd4d72876..5b30b79a8 100644 --- a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java +++ b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java @@ -59,14 +59,11 @@ public class AsmRelationshipProvider { // TODO: might want to show these in the future return; } + IRelationshipMap mapper = AsmManager.getDefault().getRelationshipMap(); IProgramElement targetNode = getNode(AsmManager.getDefault().getHierarchy(), shadow); String adviceHandle = advice.getHandle(); if (adviceHandle != null && targetNode != null) { -// ProgramElement.createHandleIdentifier( -// advice.getSourceLocation().getSourceFile(), -// advice.getSourceLocation().getLine(), -// advice.getSourceLocation().getColumn()); if (targetNode != null) { String targetHandle = targetNode.getHandleIdentifier(); @@ -137,7 +134,7 @@ public class AsmRelationshipProvider { model.findElementForType(declaringType.getPackageName(), declaringType.getClassName()); return findMemberInClass(classNode, member); } - + private static IProgramElement findMemberInClass( IProgramElement classNode, Member member) @@ -145,7 +142,6 @@ public class AsmRelationshipProvider { if (classNode == null) return null; // XXX remove this check for (Iterator it = classNode.getChildren().iterator(); it.hasNext(); ) { IProgramElement node = (IProgramElement)it.next(); - //System.err.println("checking: " + member.getName() + " with " + node.getBytecodeName() + ", " + node.getBytecodeSignature()); if (member.getName().equals(node.getBytecodeName()) && member.getSignature().equals(node.getBytecodeSignature())) { -- 2.39.5