Class PatchImportMethodVisitor
java.lang.Object
org.objectweb.asm.MethodVisitor
de.inetsoftware.jwebassembly.emulator.PatchImportMethodVisitor
class PatchImportMethodVisitor
extends org.objectweb.asm.MethodVisitor
Create the new proxy code for a native method with Import annotation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ImportAnnotation
private final String
private static final String
private static final String
private static final String
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
ConstructorsConstructorDescriptionPatchImportMethodVisitor
(org.objectweb.asm.MethodVisitor mw, String desc, ImportAnnotation anno) Create an instance. -
Method Summary
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
-
Field Details
-
RUNNER_CLASS
-
RUNNER_FUNC
- See Also:
-
RUNNER_DESC
-
desc
-
anno
-
-
Constructor Details
-
PatchImportMethodVisitor
PatchImportMethodVisitor(org.objectweb.asm.MethodVisitor mw, String desc, ImportAnnotation anno) Create an instance.- Parameters:
mw
- the method visitor of the ClassWriterdesc
- the signature of the method (parameters and return)anno
- the values of the Import annotation
-
-
Method Details
-
visitEnd
public void visitEnd()- Overrides:
visitEnd
in classorg.objectweb.asm.MethodVisitor
-