ASM MethodVisitor that builds a list of classes used within the method being visited. This is essentially determining the imports of the Class.
Constructor and description |
---|
ImportMethodVisitor
(java.util.Set<java.lang.String> classes) |
Type | Name and description |
---|---|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String desc, boolean visible) |
org.objectweb.asm.AnnotationVisitor |
visitAnnotationDefault() |
void |
visitFieldInsn(int opcode, java.lang.String owner, java.lang.String name, java.lang.String desc) |
org.objectweb.asm.AnnotationVisitor |
visitInsnAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, java.lang.String desc, boolean visible) |
void |
visitInvokeDynamicInsn(java.lang.String name, java.lang.String desc, org.objectweb.asm.Handle bsm, java.lang.Object... bsmArgs) |
void |
visitLocalVariable(java.lang.String name, java.lang.String desc, java.lang.String signature, org.objectweb.asm.Label start, org.objectweb.asm.Label end, int index) |
org.objectweb.asm.AnnotationVisitor |
visitLocalVariableAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] index, java.lang.String desc, boolean visible) |
void |
visitMethodInsn(int opcode, java.lang.String owner, java.lang.String name, java.lang.String desc) |
void |
visitMethodInsn(int opcode, java.lang.String owner, java.lang.String name, java.lang.String desc, boolean itf) |
void |
visitMultiANewArrayInsn(java.lang.String desc, int dims) |
void |
visitParameter(java.lang.String name, int access) |
org.objectweb.asm.AnnotationVisitor |
visitParameterAnnotation(int parameter, java.lang.String desc, boolean visible) |
org.objectweb.asm.AnnotationVisitor |
visitTryCatchAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, java.lang.String desc, boolean visible) |
void |
visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, java.lang.String type) |
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, java.lang.String desc, boolean visible) |
void |
visitTypeInsn(int opcode, java.lang.String type) |
Methods inherited from class | Name |
---|---|
class org.objectweb.asm.MethodVisitor |
org.objectweb.asm.MethodVisitor#visitCode(), org.objectweb.asm.MethodVisitor#visitLabel(org.objectweb.asm.Label), org.objectweb.asm.MethodVisitor#visitVarInsn(int, int), org.objectweb.asm.MethodVisitor#visitMethodInsn(int, java.lang.String, java.lang.String, java.lang.String), org.objectweb.asm.MethodVisitor#visitMethodInsn(int, java.lang.String, java.lang.String, java.lang.String, boolean), org.objectweb.asm.MethodVisitor#visitJumpInsn(int, org.objectweb.asm.Label), org.objectweb.asm.MethodVisitor#visitInsn(int), org.objectweb.asm.MethodVisitor#visitTryCatchBlock(org.objectweb.asm.Label, org.objectweb.asm.Label, org.objectweb.asm.Label, java.lang.String), org.objectweb.asm.MethodVisitor#visitEnd(), org.objectweb.asm.MethodVisitor#visitMaxs(int, int), org.objectweb.asm.MethodVisitor#visitFieldInsn(int, java.lang.String, java.lang.String, java.lang.String), org.objectweb.asm.MethodVisitor#visitIntInsn(int, int), org.objectweb.asm.MethodVisitor#visitLdcInsn(java.lang.Object), org.objectweb.asm.MethodVisitor#visitTypeInsn(int, java.lang.String), org.objectweb.asm.MethodVisitor#visitAnnotation(java.lang.String, boolean), org.objectweb.asm.MethodVisitor#visitTypeAnnotation(int, org.objectweb.asm.TypePath, java.lang.String, boolean), org.objectweb.asm.MethodVisitor#visitAttribute(org.objectweb.asm.Attribute), org.objectweb.asm.MethodVisitor#visitParameter(java.lang.String, int), org.objectweb.asm.MethodVisitor#visitAnnotationDefault(), org.objectweb.asm.MethodVisitor#visitParameterAnnotation(int, java.lang.String, boolean), org.objectweb.asm.MethodVisitor#visitFrame(int, int, [Ljava.lang.Object;, int, [Ljava.lang.Object;), org.objectweb.asm.MethodVisitor#visitInvokeDynamicInsn(java.lang.String, java.lang.String, org.objectweb.asm.Handle, [Ljava.lang.Object;), org.objectweb.asm.MethodVisitor#visitIincInsn(int, int), org.objectweb.asm.MethodVisitor#visitTableSwitchInsn(int, int, org.objectweb.asm.Label, [Lorg.objectweb.asm.Label;), org.objectweb.asm.MethodVisitor#visitLookupSwitchInsn(org.objectweb.asm.Label, [I, [Lorg.objectweb.asm.Label;), org.objectweb.asm.MethodVisitor#visitMultiANewArrayInsn(java.lang.String, int), org.objectweb.asm.MethodVisitor#visitInsnAnnotation(int, org.objectweb.asm.TypePath, java.lang.String, boolean), org.objectweb.asm.MethodVisitor#visitTryCatchAnnotation(int, org.objectweb.asm.TypePath, java.lang.String, boolean), org.objectweb.asm.MethodVisitor#visitLocalVariable(java.lang.String, java.lang.String, java.lang.String, org.objectweb.asm.Label, org.objectweb.asm.Label, int), org.objectweb.asm.MethodVisitor#visitLocalVariableAnnotation(int, org.objectweb.asm.TypePath, [Lorg.objectweb.asm.Label;, [Lorg.objectweb.asm.Label;, [I, java.lang.String, boolean), org.objectweb.asm.MethodVisitor#visitLineNumber(int, org.objectweb.asm.Label), org.objectweb.asm.MethodVisitor#wait(long, int), org.objectweb.asm.MethodVisitor#wait(long), org.objectweb.asm.MethodVisitor#wait(), org.objectweb.asm.MethodVisitor#equals(java.lang.Object), org.objectweb.asm.MethodVisitor#toString(), org.objectweb.asm.MethodVisitor#hashCode(), org.objectweb.asm.MethodVisitor#getClass(), org.objectweb.asm.MethodVisitor#notify(), org.objectweb.asm.MethodVisitor#notifyAll() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |