Class ImportAnnotationClassVisitor
- java.lang.Object
-
- org.objectweb.asm.ClassVisitor
-
- de.inetsoftware.jwebassembly.emulator.ImportAnnotationClassVisitor
-
class ImportAnnotationClassVisitor extends org.objectweb.asm.ClassVisitor
Scan a class for native methods with Import annotations.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,ImportAnnotation>
annotations
private java.lang.String
className
-
Constructor Summary
Constructors Constructor Description ImportAnnotationClassVisitor(java.lang.String className, java.util.Map<java.lang.String,ImportAnnotation> annotations)
Create an 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 descriptor, java.lang.String signature, java.lang.String[] exceptions)
-
-
-
Field Detail
-
className
private java.lang.String className
-
annotations
private java.util.Map<java.lang.String,ImportAnnotation> annotations
-
-
Constructor Detail
-
ImportAnnotationClassVisitor
ImportAnnotationClassVisitor(java.lang.String className, java.util.Map<java.lang.String,ImportAnnotation> annotations)
Create an instance.- Parameters:
className
- the name of the class in the internal form of fully qualified class. For example, "java/util/List".annotations
- container for found annotations, key is method name with signature
-
-