[jboss-cvs] javassist SVN: r550 - trunk/src/main/javassist/bytecode.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 17 10:22:25 EDT 2010


Author: chiba
Date: 2010-06-17 10:22:24 -0400 (Thu, 17 Jun 2010)
New Revision: 550

Modified:
   trunk/src/main/javassist/bytecode/ClassFilePrinter.java
Log:
modified to print annotations

Modified: trunk/src/main/javassist/bytecode/ClassFilePrinter.java
===================================================================
--- trunk/src/main/javassist/bytecode/ClassFilePrinter.java	2010-06-11 12:30:44 UTC (rev 549)
+++ trunk/src/main/javassist/bytecode/ClassFilePrinter.java	2010-06-17 14:22:24 UTC (rev 550)
@@ -108,6 +108,9 @@
                 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);



More information about the jboss-cvs-commits mailing list