]> source.dussan.org Git - javassist.git/commitdiff
modified to print annotations
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 17 Jun 2010 14:22:24 +0000 (14:22 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Thu, 17 Jun 2010 14:22:24 +0000 (14:22 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@550 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/bytecode/ClassFilePrinter.java

index 49f70661bbc4cf7fa27a3417b6fbfde06efa2392..59834114efbbfa3984d9a2192d54c88e0e2ad28d 100644 (file)
@@ -108,6 +108,9 @@ public class ClassFilePrinter {
                 printAttributes(ca.getAttributes(), out, kind);
                 out.println("<code attribute end>");
             }
+            else if (ai instanceof AnnotationsAttribute) {
+                out.println("annnotation: " + ai.toString());
+            }
             else if (ai instanceof StackMapTable) {
                 out.println("<stack map table begin>");
                 StackMapTable.Printer.print((StackMapTable)ai, out);