javassist.tools.Dump
java -cp javassist.jar javassist.tools.Dump <path-to-class-file>
javassist.tools.Dump
*** constant pool *** 1 Class #2 2 UTF8 "net/xilab/test/Main" 3 Class #4 4 UTF8 "java/lang/Object" 5 UTF8 "<init>" 6 UTF8 "()V" 7 UTF8 "Code" 8 Method #3, name&type #9 9 NameAndType #5, type #6 ...
javassist
Exception in thread "main" java.io.IOException: invalid constant type: 59 at 27 at javassist.bytecode.ConstPool.readOne(ConstPool.java:1236) at javassist.bytecode.ConstPool.read(ConstPool.java:1167) at javassist.bytecode.ConstPool.<init>(ConstPool.java:175) at javassist.bytecode.ClassFile.read(ClassFile.java:774) at javassist.bytecode.ClassFile.<init>(ClassFile.java:118) at javassist.tools.Dump.main(Dump.java:50)