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
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,ImportAnnotation>
annotations
-
Constructor Summary
Constructors Constructor Description PatchImportClassVisitor(org.objectweb.asm.ClassWriter cw, java.util.Map<java.lang.String,ImportAnnotation> annotations)
Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.MethodVisitor
visitMethod(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.String[] exceptions)
-
-
-
Field Detail
-
annotations
private java.util.Map<java.lang.String,ImportAnnotation> annotations
-
-
Constructor Detail
-
PatchImportClassVisitor
PatchImportClassVisitor(org.objectweb.asm.ClassWriter cw, java.util.Map<java.lang.String,ImportAnnotation> annotations)
Create a new instance.- Parameters:
cw
- the class writerannotations
- methods to patch, key is method name with signature
-
-