public class RecordComponentRemapper
extends org.objectweb.asm.RecordComponentVisitor
RecordComponentVisitor that remaps types with a Remapper.| Modifier and Type | Field | Description |
|---|---|---|
protected Remapper |
remapper |
The remapper used to remap the types in the visited field.
|
| Modifier | Constructor | 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 | Description |
|---|---|---|
protected org.objectweb.asm.AnnotationVisitor |
createAnnotationRemapper(java.lang.String descriptor,
org.objectweb.asm.AnnotationVisitor annotationVisitor) |
Constructs a new remapper for annotations.
|
protected org.objectweb.asm.AnnotationVisitor |
createAnnotationRemapper(org.objectweb.asm.AnnotationVisitor annotationVisitor) |
Deprecated.
use
createAnnotationRemapper(String, AnnotationVisitor) instead. |
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.RecordComponentVisitorpublic 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@Deprecated protected org.objectweb.asm.AnnotationVisitor createAnnotationRemapper(org.objectweb.asm.AnnotationVisitor annotationVisitor)
createAnnotationRemapper(String, AnnotationVisitor) instead.AnnotationRemapper.annotationVisitor - the AnnotationVisitor the remapper must delegate to.protected org.objectweb.asm.AnnotationVisitor createAnnotationRemapper(java.lang.String descriptor,
org.objectweb.asm.AnnotationVisitor annotationVisitor)
AnnotationRemapper.descriptor - the descriptor sof the visited annotation.annotationVisitor - the AnnotationVisitor the remapper must delegate to.Copyright © 2023. All rights reserved.