Package | Description |
---|---|
org.eclipse.sisu.space.asm |
Modifier and Type | Class and Description |
---|---|
(package private) class |
AnnotationWriter
An
AnnotationVisitor that generates annotations in bytecode form. |
Modifier and Type | Field and Description |
---|---|
protected AnnotationVisitor |
AnnotationVisitor.av
The annotation visitor to which this visitor must delegate method calls.
|
Modifier and Type | Method and Description |
---|---|
AnnotationVisitor |
FieldWriter.visitAnnotation(java.lang.String desc,
boolean visible) |
AnnotationVisitor |
ClassWriter.visitAnnotation(java.lang.String desc,
boolean visible) |
AnnotationVisitor |
MethodVisitor.visitAnnotation(java.lang.String desc,
boolean visible)
Visits an annotation of this method.
|
AnnotationVisitor |
FieldVisitor.visitAnnotation(java.lang.String desc,
boolean visible)
Visits an annotation of the field.
|
AnnotationVisitor |
MethodWriter.visitAnnotation(java.lang.String desc,
boolean visible) |
AnnotationVisitor |
ClassVisitor.visitAnnotation(java.lang.String desc,
boolean visible)
Visits an annotation of the class.
|
AnnotationVisitor |
AnnotationVisitor.visitAnnotation(java.lang.String name,
java.lang.String desc)
Visits a nested annotation value of the annotation.
|
AnnotationVisitor |
AnnotationWriter.visitAnnotation(java.lang.String name,
java.lang.String desc) |
AnnotationVisitor |
MethodVisitor.visitAnnotationDefault()
Visits the default value of this annotation interface method.
|
AnnotationVisitor |
MethodWriter.visitAnnotationDefault() |
AnnotationVisitor |
AnnotationVisitor.visitArray(java.lang.String name)
Visits an array value of the annotation.
|
AnnotationVisitor |
AnnotationWriter.visitArray(java.lang.String name) |
AnnotationVisitor |
MethodVisitor.visitInsnAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible)
Visits an annotation on an instruction.
|
AnnotationVisitor |
MethodWriter.visitInsnAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
MethodVisitor.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
java.lang.String desc,
boolean visible)
Visits an annotation on a local variable type.
|
AnnotationVisitor |
MethodWriter.visitLocalVariableAnnotation(int typeRef,
TypePath typePath,
Label[] start,
Label[] end,
int[] index,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
MethodVisitor.visitParameterAnnotation(int parameter,
java.lang.String desc,
boolean visible)
Visits an annotation of a parameter this method.
|
AnnotationVisitor |
MethodWriter.visitParameterAnnotation(int parameter,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
MethodVisitor.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible)
Visits an annotation on an exception handler type.
|
AnnotationVisitor |
MethodWriter.visitTryCatchAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
FieldWriter.visitTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
ClassWriter.visitTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
MethodVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible)
Visits an annotation on a type in the method signature.
|
AnnotationVisitor |
FieldVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible)
Visits an annotation on the type of the field.
|
AnnotationVisitor |
MethodWriter.visitTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible) |
AnnotationVisitor |
ClassVisitor.visitTypeAnnotation(int typeRef,
TypePath typePath,
java.lang.String desc,
boolean visible)
Visits an annotation on a type in the class signature.
|
Modifier and Type | Method and Description |
---|---|
private int |
ClassReader.readAnnotationValue(int v,
char[] buf,
java.lang.String name,
AnnotationVisitor av)
Reads a value of an annotation and makes the given visitor visit it.
|
private int |
ClassReader.readAnnotationValues(int v,
char[] buf,
boolean named,
AnnotationVisitor av)
Reads the values of an annotation and makes the given visitor visit them.
|
Constructor and Description |
---|
AnnotationVisitor(int api,
AnnotationVisitor av)
Constructs a new
AnnotationVisitor . |