public class FieldRemapper
extends org.objectweb.asm.FieldVisitor
FieldVisitor
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 |
---|---|
|
FieldRemapper(org.objectweb.asm.FieldVisitor fieldVisitor,
Remapper remapper)
Constructs a new
FieldRemapper . |
protected |
FieldRemapper(int api,
org.objectweb.asm.FieldVisitor fieldVisitor,
Remapper remapper)
Constructs a new
FieldRemapper . |
Modifier and Type | Method and Description |
---|---|
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 deleted 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 Opcodes.ASM4
, Opcodes.ASM5
or Opcodes.ASM6
.fieldVisitor
- the field visitor this remapper must deleted 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.FieldVisitor
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.FieldVisitor