Class ImportAnnotationMethodVisitor


  • class ImportAnnotationMethodVisitor
    extends org.objectweb.asm.MethodVisitor
    Search for methods with the Import annotation of JWebAssembly.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​ImportAnnotation> annotations  
      private java.lang.String className  
      private java.lang.String descriptor  
      private static java.lang.String IMPORT_ANN  
      private java.lang.String methodName  
      • Fields inherited from class org.objectweb.asm.MethodVisitor

        api, mv
    • Constructor Summary

      Constructors 
      Constructor Description
      ImportAnnotationMethodVisitor​(java.lang.String className, java.lang.String methodName, java.lang.String descriptor, java.util.Map<java.lang.String,​ImportAnnotation> annotations)
      Create an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String descriptor, boolean visible)
      • 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
    • Field Detail

      • IMPORT_ANN

        private static final java.lang.String IMPORT_ANN
      • className

        private java.lang.String className
      • methodName

        private java.lang.String methodName
      • descriptor

        private java.lang.String descriptor
      • annotations

        private java.util.Map<java.lang.String,​ImportAnnotation> annotations
    • Constructor Detail

      • ImportAnnotationMethodVisitor

        ImportAnnotationMethodVisitor​(java.lang.String className,
                                      java.lang.String methodName,
                                      java.lang.String descriptor,
                                      java.util.Map<java.lang.String,​ImportAnnotation> annotations)
        Create an instance.
        Parameters:
        className - the name of the class in the internal form of fully qualified class. For example, "java/util/List".
        methodName - method name
        descriptor - the method's descriptor (see Type).
        annotations - container for found annotations, key is method name with signature
    • Method Detail

      • visitAnnotation

        public org.objectweb.asm.AnnotationVisitor visitAnnotation​(java.lang.String descriptor,
                                                                   boolean visible)
        Overrides:
        visitAnnotation in class org.objectweb.asm.MethodVisitor