Well I was reading the PDF tutorial/documentation/book(if you will) on the ASM4 Bytecode library. I was trying out the examples and learn as I went by, by reading, and actually typing out the code, executing, then learning from the output. I came across this part:
public class ClassPrinter extends ClassVisitor {
public ClassPrinter() {
super(ASM4);
}
Here is the link: http://download.forge.objectweb.org/asm/asm4-guide.pdf
I cant figure out what to pass in the super. My IDE wasn't very helpful either.
That is an ASM4 API version constant. Also see JavaDoc for ClassVisitor(int) constructor.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With