Package net.bytebuddy.asm
Class TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor
java.lang.Object
org.objectweb.asm.MethodVisitor
net.bytebuddy.asm.TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor
- Enclosing class:
- TypeReferenceAdjustment.TypeReferenceClassVisitor
protected class TypeReferenceAdjustment.TypeReferenceClassVisitor.TypeReferenceMethodVisitor
extends org.objectweb.asm.MethodVisitor
A method visitor that collects all type references.
-
Field Summary
Fields inherited from class org.objectweb.asm.MethodVisitor
api, mv
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TypeReferenceMethodVisitor
(org.objectweb.asm.MethodVisitor methodVisitor) Creates a new type reference-collecting method visitor. -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.AnnotationVisitor
visitAnnotation
(String descriptor, boolean visible) org.objectweb.asm.AnnotationVisitor
void
visitFieldInsn
(int opcode, String ownerInternalName, String name, String descriptor) org.objectweb.asm.AnnotationVisitor
visitInsnAnnotation
(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) void
visitInvokeDynamicInsn
(String name, String descriptor, org.objectweb.asm.Handle handle, Object... argument) void
visitLdcInsn
(Object value) org.objectweb.asm.AnnotationVisitor
visitLocalVariableAnnotation
(int typeReference, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] index, String descriptor, boolean visible) void
visitMethodInsn
(int opcode, String ownerInternalName, String name, String descriptor, boolean isInterface) void
visitMultiANewArrayInsn
(String descriptor, int dimension) org.objectweb.asm.AnnotationVisitor
visitParameterAnnotation
(int index, String descriptor, boolean visible) org.objectweb.asm.AnnotationVisitor
visitTryCatchAnnotation
(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) void
visitTryCatchBlock
(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String typeInternalName) org.objectweb.asm.AnnotationVisitor
visitTypeAnnotation
(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) void
visitTypeInsn
(int opcode, String internalName) Methods inherited from class org.objectweb.asm.MethodVisitor
visitAnnotableParameterCount, visitAttribute, visitCode, visitEnd, visitFrame, visitIincInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethodInsn, visitParameter, visitTableSwitchInsn, visitVarInsn
-
Constructor Details
-
TypeReferenceMethodVisitor
protected TypeReferenceMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor) Creates a new type reference-collecting method visitor.- Parameters:
methodVisitor
- The method visitor to delegate to.
-
-
Method Details
-
visitAnnotationDefault
public org.objectweb.asm.AnnotationVisitor visitAnnotationDefault()- Overrides:
visitAnnotationDefault
in classorg.objectweb.asm.MethodVisitor
-
visitAnnotation
- Overrides:
visitAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitTypeAnnotation
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitTypeAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitParameterAnnotation
public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int index, String descriptor, boolean visible) - Overrides:
visitParameterAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitInsnAnnotation
public org.objectweb.asm.AnnotationVisitor visitInsnAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitInsnAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitTryCatchAnnotation
public org.objectweb.asm.AnnotationVisitor visitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitTryCatchAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitLocalVariableAnnotation
public org.objectweb.asm.AnnotationVisitor visitLocalVariableAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] index, String descriptor, boolean visible) - Overrides:
visitLocalVariableAnnotation
in classorg.objectweb.asm.MethodVisitor
-
visitTypeInsn
- Overrides:
visitTypeInsn
in classorg.objectweb.asm.MethodVisitor
-
visitFieldInsn
- Overrides:
visitFieldInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMethodInsn
public void visitMethodInsn(int opcode, String ownerInternalName, String name, String descriptor, boolean isInterface) - Overrides:
visitMethodInsn
in classorg.objectweb.asm.MethodVisitor
-
visitInvokeDynamicInsn
public void visitInvokeDynamicInsn(String name, String descriptor, org.objectweb.asm.Handle handle, Object... argument) - Overrides:
visitInvokeDynamicInsn
in classorg.objectweb.asm.MethodVisitor
-
visitLdcInsn
- Overrides:
visitLdcInsn
in classorg.objectweb.asm.MethodVisitor
-
visitMultiANewArrayInsn
- Overrides:
visitMultiANewArrayInsn
in classorg.objectweb.asm.MethodVisitor
-
visitTryCatchBlock
public void visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String typeInternalName) - Overrides:
visitTryCatchBlock
in classorg.objectweb.asm.MethodVisitor
-