public class AnnotationRemapper
extends org.objectweb.asm.AnnotationVisitor
AnnotationVisitor that remaps types with a Remapper.| Modifier and Type | Field | Description |
|---|---|---|
protected Remapper |
remapper |
The remapper used to remap the types in the visited annotation.
|
| Modifier | Constructor | Description |
|---|---|---|
protected |
AnnotationRemapper(int api,
org.objectweb.asm.AnnotationVisitor annotationVisitor,
Remapper remapper) |
Constructs a new
AnnotationRemapper. |
|
AnnotationRemapper(org.objectweb.asm.AnnotationVisitor annotationVisitor,
Remapper remapper) |
Constructs a new
AnnotationRemapper. |
| Modifier and Type | Method | Description |
|---|---|---|
void |
visit(java.lang.String name,
java.lang.Object value) |
|
org.objectweb.asm.AnnotationVisitor |
visitAnnotation(java.lang.String name,
java.lang.String descriptor) |
|
org.objectweb.asm.AnnotationVisitor |
visitArray(java.lang.String name) |
|
void |
visitEnum(java.lang.String name,
java.lang.String descriptor,
java.lang.String value) |
protected final Remapper remapper
public AnnotationRemapper(org.objectweb.asm.AnnotationVisitor annotationVisitor,
Remapper remapper)
AnnotationRemapper. Subclasses must not use this constructor.
Instead, they must use the AnnotationRemapper(int,AnnotationVisitor,Remapper) version.annotationVisitor - the annotation visitor this remapper must deleted to.remapper - the remapper to use to remap the types in the visited annotation.protected AnnotationRemapper(int api,
org.objectweb.asm.AnnotationVisitor annotationVisitor,
Remapper remapper)
AnnotationRemapper.api - the ASM API version supported by this remapper. Must be one of Opcodes.ASM4, Opcodes.ASM5 or Opcodes.ASM6.annotationVisitor - the annotation visitor this remapper must deleted to.remapper - the remapper to use to remap the types in the visited annotation.public void visit(java.lang.String name,
java.lang.Object value)
visit in class org.objectweb.asm.AnnotationVisitorpublic void visitEnum(java.lang.String name,
java.lang.String descriptor,
java.lang.String value)
visitEnum in class org.objectweb.asm.AnnotationVisitorpublic org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name,
java.lang.String descriptor)
visitAnnotation in class org.objectweb.asm.AnnotationVisitorpublic org.objectweb.asm.AnnotationVisitor visitArray(java.lang.String name)
visitArray in class org.objectweb.asm.AnnotationVisitorCopyright © 2019. All rights reserved.