aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-08-19 21:20:09 +0000
committeracolyer <acolyer>2004-08-19 21:20:09 +0000
commitf332d7526f0b570607a7759777738a5c15a39e07 (patch)
treeaa67e7513ba626579be61507cf04e1c1aa5c3c4f /weaver
parente41a5dd70aa2c92c190f0c42bb72243db6748373 (diff)
downloadaspectj-f332d7526f0b570607a7759777738a5c15a39e07.tar.gz
aspectj-f332d7526f0b570607a7759777738a5c15a39e07.zip
toString method on new attribute makes test harness diffing happier.
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/AjAttribute.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/AjAttribute.java b/weaver/src/org/aspectj/weaver/AjAttribute.java
index b194e19af..ed14f5865 100644
--- a/weaver/src/org/aspectj/weaver/AjAttribute.java
+++ b/weaver/src/org/aspectj/weaver/AjAttribute.java
@@ -232,6 +232,9 @@ public abstract class AjAttribute {
return new MethodDeclarationLineNumberAttribute(s.readInt());
}
+ public String toString() {
+ return AttributeName + ": " + lineNumber;
+ }
}
public static class PointcutDeclarationAttribute extends AjAttribute {