diff options
author | mkersten <mkersten> | 2003-09-26 05:38:11 +0000 |
---|---|---|
committer | mkersten <mkersten> | 2003-09-26 05:38:11 +0000 |
commit | 79c8ebbe4756a32b50741805d888e09a746c59da (patch) | |
tree | 066a6e034089ab14f128724a6836fc4384d33e4b /weaver | |
parent | 426d89b639c5f64504ff372b849495d75cdc7540 (diff) | |
download | aspectj-79c8ebbe4756a32b50741805d888e09a746c59da.tar.gz aspectj-79c8ebbe4756a32b50741805d888e09a746c59da.zip |
Comment clean-up only.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java | 8 |
1 files 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())) { |