From: chiba Date: Thu, 17 Jun 2010 14:22:24 +0000 (+0000) Subject: modified to print annotations X-Git-Tag: rel_3_17_1_ga~102 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6b14fe163cca31a245721daaf1bc1f630a90258a;p=javassist.git modified to print annotations git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@550 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/bytecode/ClassFilePrinter.java b/src/main/javassist/bytecode/ClassFilePrinter.java index 49f70661..59834114 100644 --- a/src/main/javassist/bytecode/ClassFilePrinter.java +++ b/src/main/javassist/bytecode/ClassFilePrinter.java @@ -108,6 +108,9 @@ public class ClassFilePrinter { printAttributes(ca.getAttributes(), out, kind); out.println(""); } + else if (ai instanceof AnnotationsAttribute) { + out.println("annnotation: " + ai.toString()); + } else if (ai instanceof StackMapTable) { out.println(""); StackMapTable.Printer.print((StackMapTable)ai, out);