public class FieldRemapper
extends org.objectweb.asm.FieldVisitor
FieldVisitor 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 |
FieldRemapper(int api,
org.objectweb.asm.FieldVisitor fieldVisitor,
Remapper remapper) |
Constructs a new
FieldRemapper. |
|
FieldRemapper(org.objectweb.asm.FieldVisitor fieldVisitor,
Remapper remapper) |
Constructs a new
FieldRemapper. |
| 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 FieldRemapper(org.objectweb.asm.FieldVisitor fieldVisitor,
Remapper remapper)
FieldRemapper. Subclasses must not use this constructor.
Instead, they must use the FieldRemapper(int,FieldVisitor,Remapper) version.fieldVisitor - the field visitor this remapper must delegate to.remapper - the remapper to use to remap the types in the visited field.protected FieldRemapper(int api,
org.objectweb.asm.FieldVisitor fieldVisitor,
Remapper remapper)
FieldRemapper.api - the ASM API version supported by this remapper. Must be one of the
ASMx values in Opcodes.fieldVisitor - the field visitor this remapper must delegate to.remapper - the remapper to use to remap the types in the visited field.public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String descriptor,
boolean visible)
visitAnnotation in class org.objectweb.asm.FieldVisitorpublic org.objectweb.asm.AnnotationVisitor visitTypeAnnotation(int typeRef,
org.objectweb.asm.TypePath typePath,
java.lang.String descriptor,
boolean visible)
visitTypeAnnotation in class org.objectweb.asm.FieldVisitor@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 of the visited annotation.annotationVisitor - the AnnotationVisitor the remapper must delegate to.Copyright © 2023. All rights reserved.