diff options
author | acolyer <acolyer> | 2003-02-26 22:11:00 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2003-02-26 22:11:00 +0000 |
commit | 9b1c6f8915bd8e2c9ae866caed54daf458812572 (patch) | |
tree | 86b482bb5e11f589d1d750c9e26e018aff54b681 /weaver | |
parent | 0ea01f7424ac387125b291fde36bae6569d8ca9d (diff) | |
download | aspectj-9b1c6f8915bd8e2c9ae866caed54daf458812572.tar.gz aspectj-9b1c6f8915bd8e2c9ae866caed54daf458812572.zip |
Restored original mechanism of getting source location
now that debug info is being generated.
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/AsmAdaptor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/AsmAdaptor.java b/weaver/src/org/aspectj/weaver/AsmAdaptor.java index caeeeaf41..dc7a94695 100644 --- a/weaver/src/org/aspectj/weaver/AsmAdaptor.java +++ b/weaver/src/org/aspectj/weaver/AsmAdaptor.java @@ -23,6 +23,7 @@ import org.aspectj.asm.Relation; import org.aspectj.asm.RelationNode; import org.aspectj.asm.StructureModel; import org.aspectj.bridge.ISourceLocation; +import org.aspectj.bridge.SourceLocation; public class AsmAdaptor { public static void noteMunger(StructureModel model, Shadow shadow, ShadowMunger munger) { @@ -149,8 +150,8 @@ public class AsmAdaptor { ProgramElementNode peNode = new ProgramElementNode( shadow.toString(), ProgramElementNode.Kind.CODE, -// new SourceLocation(enclosingNode.getSourceLocation().getSourceFile(), sl.getLine()), - enclosingNode.getSourceLocation(), + new SourceLocation(enclosingNode.getSourceLocation().getSourceFile(), sl.getLine()), +// enclosingNode.getSourceLocation(), 0, "", new ArrayList()); |