Class ImportAnnotationMethodVisitor
- java.lang.Object
-
- org.objectweb.asm.MethodVisitor
-
- de.inetsoftware.jwebassembly.emulator.ImportAnnotationMethodVisitor
-
class ImportAnnotationMethodVisitor extends org.objectweb.asm.MethodVisitor
Search for methods with the Import annotation of JWebAssembly.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,ImportAnnotation>
annotations
private java.lang.String
className
private java.lang.String
descriptor
private static java.lang.String
IMPORT_ANN
private java.lang.String
methodName
-
Constructor Summary
Constructors Constructor Description ImportAnnotationMethodVisitor(java.lang.String className, java.lang.String methodName, java.lang.String descriptor, 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.AnnotationVisitor
visitAnnotation(java.lang.String descriptor, boolean visible)
-
Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, visitAnnotableParameterCount, visitAnnotationDefault, visitAttribute, visitCode, visitEnd, 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
-
IMPORT_ANN
private static final java.lang.String IMPORT_ANN
-
className
private java.lang.String className
-
methodName
private java.lang.String methodName
-
descriptor
private java.lang.String descriptor
-
annotations
private java.util.Map<java.lang.String,ImportAnnotation> annotations
-
-
Constructor Detail
-
ImportAnnotationMethodVisitor
ImportAnnotationMethodVisitor(java.lang.String className, java.lang.String methodName, java.lang.String descriptor, 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".methodName
- method namedescriptor
- the method's descriptor (seeType
).annotations
- container for found annotations, key is method name with signature
-
-