Class PatchImportMethodVisitor
- java.lang.Object
-
- org.objectweb.asm.MethodVisitor
-
- de.inetsoftware.jwebassembly.emulator.PatchImportMethodVisitor
-
class PatchImportMethodVisitor extends org.objectweb.asm.MethodVisitorCreate the new proxy code for a native method with Import annotation.
-
-
Field Summary
Fields Modifier and Type Field Description private ImportAnnotationannoprivate java.lang.Stringdescprivate static java.lang.StringRUNNER_CLASSprivate static java.lang.StringRUNNER_DESCprivate static java.lang.StringRUNNER_FUNC
-
Constructor Summary
Constructors Constructor Description PatchImportMethodVisitor(org.objectweb.asm.MethodVisitor mw, java.lang.String desc, ImportAnnotation anno)Create an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitEnd()-
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 Detail
-
RUNNER_CLASS
private static final java.lang.String RUNNER_CLASS
-
RUNNER_FUNC
private static final java.lang.String RUNNER_FUNC
- See Also:
- Constant Field Values
-
RUNNER_DESC
private static final java.lang.String RUNNER_DESC
-
desc
private final java.lang.String desc
-
anno
private ImportAnnotation anno
-
-
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 ClassWriterdesc- the signature of the method (parameters and return)anno- the values of the Import annotation
-
-