3

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.

Prof. Falken
  • 24,226
  • 19
  • 100
  • 173
Soulevoker
  • 163
  • 8

1 Answers1

5

That is an ASM4 API version constant. Also see JavaDoc for ClassVisitor(int) constructor.

Eugene Kuleshov
  • 31,461
  • 5
  • 66
  • 67