Class PatchImportMethodVisitor


  • class PatchImportMethodVisitor
    extends org.objectweb.asm.MethodVisitor
    Create the new proxy code for a native method with Import annotation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ImportAnnotation anno  
      private java.lang.String desc  
      private static java.lang.String RUNNER_CLASS  
      private static java.lang.String RUNNER_DESC  
      private static java.lang.String RUNNER_FUNC  
      • Fields inherited from class org.objectweb.asm.MethodVisitor

        api, mv
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void visitEnd()
      • Methods inherited from class org.objectweb.asm.MethodVisitor

        getDelegate, visitAnnotableParameterCount, visitAnnotation, visitAnnotationDefault, visitAttribute, visitCode, 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

      • RUNNER_CLASS

        private static final java.lang.String RUNNER_CLASS
      • RUNNER_DESC

        private static final java.lang.String RUNNER_DESC
      • desc

        private final java.lang.String desc
    • Constructor Detail

      • PatchImportMethodVisitor

        PatchImportMethodVisitor​(org.objectweb.asm.MethodVisitor mw,
                                 java.lang.String desc,
                                 ImportAnnotation anno)
        Create an instance.
        Parameters:
        mw - the method visitor of the ClassWriter
        desc - the signature of the method (parameters and return)
        anno - the values of the Import annotation
    • Method Detail

      • visitEnd

        public void visitEnd()
        Overrides:
        visitEnd in class org.objectweb.asm.MethodVisitor