aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2010-06-17 14:22:24 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2010-06-17 14:22:24 +0000
commit6b14fe163cca31a245721daaf1bc1f630a90258a (patch)
tree30239f23594a2d2fb2c63939d8cbd2d0ebf0f110 /src/main
parent5b72cee316dfb8b618f21e9f8928166bc5560a36 (diff)
downloadjavassist-6b14fe163cca31a245721daaf1bc1f630a90258a.tar.gz
javassist-6b14fe163cca31a245721daaf1bc1f630a90258a.zip
modified to print annotations
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@550 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main')
-rw-r--r--src/main/javassist/bytecode/ClassFilePrinter.java3
1 files changed, 3 insertions, 0 deletions
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("<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);