Class AnnotationParser.MyMethodVisitor

  • Enclosing class:
    AnnotationParser

    public class AnnotationParser.MyMethodVisitor
    extends org.objectweb.asm.MethodVisitor
    ASM Visitor for parsing a method. We are only interested in the annotations on methods.
    • Field Summary

      • Fields inherited from class org.objectweb.asm.MethodVisitor

        api, mv
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String desc, boolean visible)
      We are only interested in finding the annotations on methods.
      • Methods inherited from class org.objectweb.asm.MethodVisitor

        getDelegate, visitAnnotableParameterCount, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, visitFieldInsn, visitFrame, visitIincInsn, visitInsn, visitInsnAnnotation, visitIntInsn, visitInvokeDynamicInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLocalVariableAnnotation, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitMethodInsn, visitMultiANewArrayInsn, visitParameter, visitParameterAnnotation, visitTableSwitchInsn, visitTryCatchAnnotation, visitTryCatchBlock, visitTypeAnnotation, visitTypeInsn, visitVarInsn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyMethodVisitor

        public MyMethodVisitor​(java.util.Set<? extends AnnotationParser.Handler> handlers,
                               AnnotationParser.ClassInfo classInfo,
                               int access,
                               java.lang.String name,
                               java.lang.String methodDesc,
                               java.lang.String signature,
                               java.lang.String[] exceptions,
                               int asmVersion)
    • Method Detail

      • visitAnnotation

        public org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String desc,
                                                                   boolean visible)
        We are only interested in finding the annotations on methods.
        Overrides:
        visitAnnotation in class org.objectweb.asm.MethodVisitor