Pregunta

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.

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top