Class PatchImportClassVisitor
java.lang.Object
org.objectweb.asm.ClassVisitor
de.inetsoftware.jwebassembly.emulator.PatchImportClassVisitor
class PatchImportClassVisitor
extends org.objectweb.asm.ClassVisitor
Patch all methods with Import Annotations.
-
Field Summary
FieldsFields inherited from class org.objectweb.asm.ClassVisitor
api, cv
-
Constructor Summary
ConstructorsConstructorDescriptionPatchImportClassVisitor
(org.objectweb.asm.ClassWriter cw, Map<String, ImportAnnotation> annotations) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.MethodVisitor
visitMethod
(int access, String name, String desc, String signature, String[] exceptions) Methods inherited from class org.objectweb.asm.ClassVisitor
getDelegate, visit, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitModule, visitNestHost, visitNestMember, visitOuterClass, visitPermittedSubclass, visitRecordComponent, visitSource, visitTypeAnnotation
-
Field Details
-
annotations
-
-
Constructor Details
-
PatchImportClassVisitor
PatchImportClassVisitor(org.objectweb.asm.ClassWriter cw, Map<String, ImportAnnotation> annotations) Create a new instance.- Parameters:
cw
- the class writerannotations
- methods to patch, key is method name with signature
-
-
Method Details