public class RecordComponentRemapper
extends org.objectweb.asm.RecordComponentVisitor
RecordComponentVisitor
that remaps types with a Remapper
.Modifier and Type | Field and Description |
---|---|
protected Remapper |
remapper
The remapper used to remap the types in the visited field.
|
Modifier | Constructor and Description |
---|---|
protected |
RecordComponentRemapper(int api,
org.objectweb.asm.RecordComponentVisitor recordComponentVisitor,
Remapper remapper)
Constructs a new
RecordComponentRemapper . |
|
RecordComponentRemapper(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor,
Remapper remapper)
Constructs a new
RecordComponentRemapper . |
Modifier and Type | Method and Description |
---|---|
protected org.objectweb.asm.AnnotationVisitor |
createAnnotationRemapper(org.objectweb.asm.AnnotationVisitor annotationVisitor)
Constructs a new remapper for annotations.
|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String descriptor,
boolean visible) |
org.objectweb.asm.AnnotationVisitor |
visitTypeAnnotation(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible) |
protected final Remapper remapper
public RecordComponentRemapper(org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, Remapper remapper)
RecordComponentRemapper
. Subclasses must not use this
constructor. Instead, they must use the RecordComponentRemapper(int,RecordComponentVisitor,Remapper)
version.recordComponentVisitor
- the record component visitor this remapper must delegate to.remapper
- the remapper to use to remap the types in the visited record component.protected RecordComponentRemapper(int api, org.objectweb.asm.RecordComponentVisitor recordComponentVisitor, Remapper remapper)
RecordComponentRemapper
.api
- the ASM API version supported by this remapper. Must be one of Opcodes.ASM8
or Opcodes.ASM9
.recordComponentVisitor
- the record component visitor this remapper must delegate to.remapper
- the remapper to use to remap the types in the visited record component.public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor, boolean visible)
visitAnnotation
in class org.objectweb.asm.RecordComponentVisitor
public org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef, org.objectweb.asm.TypePath typePath, java.lang.String descriptor, boolean visible)
visitTypeAnnotation
in class org.objectweb.asm.RecordComponentVisitor
protected org.objectweb.asm.AnnotationVisitor createAnnotationRemapper(org.objectweb.asm.AnnotationVisitor annotationVisitor)
AnnotationRemapper
.annotationVisitor
- the AnnotationVisitor the remapper must delegate to.