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
ConstructorsModifierConstructorDescriptionprotectedTypeReferenceMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor) Creates a new type reference-collecting method visitor. -
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.AnnotationVisitorvisitAnnotation(String descriptor, boolean visible) org.objectweb.asm.AnnotationVisitorvoidvisitFieldInsn(int opcode, String ownerInternalName, String name, String descriptor) org.objectweb.asm.AnnotationVisitorvisitInsnAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) voidvisitInvokeDynamicInsn(String name, String descriptor, org.objectweb.asm.Handle handle, Object... argument) voidvisitLdcInsn(Object value) org.objectweb.asm.AnnotationVisitorvisitLocalVariableAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] offset, String descriptor, boolean visible) voidvisitMethodInsn(int opcode, String ownerInternalName, String name, String descriptor, boolean isInterface) voidvisitMultiANewArrayInsn(String descriptor, int dimension) org.objectweb.asm.AnnotationVisitorvisitParameterAnnotation(int index, String descriptor, boolean visible) org.objectweb.asm.AnnotationVisitorvisitTryCatchAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) voidvisitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, String typeInternalName) org.objectweb.asm.AnnotationVisitorvisitTypeAnnotation(int typeReference, org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) voidvisitTypeInsn(int opcode, String internalName) Methods inherited from class org.objectweb.asm.MethodVisitor
getDelegate, 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
- Overrides:
visitAnnotationDefaultin classorg.objectweb.asm.MethodVisitor
-
visitAnnotation
@MaybeNull public org.objectweb.asm.AnnotationVisitor visitAnnotation(String descriptor, boolean visible) - Overrides:
visitAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitTypeAnnotation
@MaybeNull public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeReference, @MaybeNull org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitTypeAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitParameterAnnotation
@MaybeNull public org.objectweb.asm.AnnotationVisitor visitParameterAnnotation(int index, String descriptor, boolean visible) - Overrides:
visitParameterAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitInsnAnnotation
@MaybeNull public org.objectweb.asm.AnnotationVisitor visitInsnAnnotation(int typeReference, @MaybeNull org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitInsnAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitTryCatchAnnotation
@MaybeNull public org.objectweb.asm.AnnotationVisitor visitTryCatchAnnotation(int typeReference, @MaybeNull org.objectweb.asm.TypePath typePath, String descriptor, boolean visible) - Overrides:
visitTryCatchAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitLocalVariableAnnotation
@MaybeNull public org.objectweb.asm.AnnotationVisitor visitLocalVariableAnnotation(int typeReference, @MaybeNull org.objectweb.asm.TypePath typePath, org.objectweb.asm.Label[] start, org.objectweb.asm.Label[] end, int[] offset, String descriptor, boolean visible) - Overrides:
visitLocalVariableAnnotationin classorg.objectweb.asm.MethodVisitor
-
visitTypeInsn
- Overrides:
visitTypeInsnin classorg.objectweb.asm.MethodVisitor
-
visitFieldInsn
- Overrides:
visitFieldInsnin classorg.objectweb.asm.MethodVisitor
-
visitMethodInsn
public void visitMethodInsn(int opcode, String ownerInternalName, String name, String descriptor, boolean isInterface) - Overrides:
visitMethodInsnin classorg.objectweb.asm.MethodVisitor
-
visitInvokeDynamicInsn
public void visitInvokeDynamicInsn(String name, String descriptor, org.objectweb.asm.Handle handle, Object... argument) - Overrides:
visitInvokeDynamicInsnin classorg.objectweb.asm.MethodVisitor
-
visitLdcInsn
- Overrides:
visitLdcInsnin classorg.objectweb.asm.MethodVisitor
-
visitMultiANewArrayInsn
- Overrides:
visitMultiANewArrayInsnin classorg.objectweb.asm.MethodVisitor
-
visitTryCatchBlock
public void visitTryCatchBlock(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, @MaybeNull String typeInternalName) - Overrides:
visitTryCatchBlockin classorg.objectweb.asm.MethodVisitor
-