]> source.dussan.org Git - aspectj.git/commitdiff
toString method on new attribute makes test harness diffing happier.
authoracolyer <acolyer>
Thu, 19 Aug 2004 21:20:09 +0000 (21:20 +0000)
committeracolyer <acolyer>
Thu, 19 Aug 2004 21:20:09 +0000 (21:20 +0000)
weaver/src/org/aspectj/weaver/AjAttribute.java

index b194e19aff33747041c2ea9d804d80dfae22937d..ed14f5865ffcfbe8e9f5f193f1f4e611b899829e 100644 (file)
@@ -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 {