Package | Description |
---|---|
org.cojen.classfile | |
org.cojen.classfile.attribute | |
org.cojen.util |
Modifier and Type | Method and Description |
---|---|
Annotation |
MethodInfo.addRuntimeInvisibleAnnotation(TypeDesc type)
Add a runtime invisible annotation.
|
Annotation |
FieldInfo.addRuntimeInvisibleAnnotation(TypeDesc type)
Add a runtime invisible annotation.
|
Annotation |
ClassFile.addRuntimeInvisibleAnnotation(TypeDesc type)
Add a runtime invisible annotation.
|
Annotation |
MethodInfo.addRuntimeVisibleAnnotation(TypeDesc type)
Add a runtime visible annotation.
|
Annotation |
FieldInfo.addRuntimeVisibleAnnotation(TypeDesc type)
Add a runtime visible annotation.
|
Annotation |
ClassFile.addRuntimeVisibleAnnotation(TypeDesc type)
Add a runtime visible annotation.
|
Annotation[] |
MethodInfo.getRuntimeInvisibleAnnotations()
Returns all the runtime invisible annotations defined for this class
file, or an empty array if none.
|
Annotation[] |
FieldInfo.getRuntimeInvisibleAnnotations()
Returns all the runtime invisible annotations defined for this class
file, or an empty array if none.
|
Annotation[] |
ClassFile.getRuntimeInvisibleAnnotations()
Returns all the runtime invisible annotations defined for this class
file, or an empty array if none.
|
Annotation[] |
MethodInfo.getRuntimeVisibleAnnotations()
Returns all the runtime visible annotations defined for this class file,
or an empty array if none.
|
Annotation[] |
FieldInfo.getRuntimeVisibleAnnotations()
Returns all the runtime visible annotations defined for this class file,
or an empty array if none.
|
Annotation[] |
ClassFile.getRuntimeVisibleAnnotations()
Returns all the runtime visible annotations defined for this class file,
or an empty array if none.
|
Modifier and Type | Method and Description |
---|---|
Annotation[][] |
ParameterAnnotationsAttr.getAnnotations()
First array index is zero-based parameter number.
|
Annotation[] |
AnnotationsAttr.getAnnotations() |
Annotation[] |
ParameterAnnotationsAttr.getAnnotations(int parameter) |
Annotation |
Annotation.makeAnnotation() |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationsAttr.addAnnotation(Annotation annotation) |
void |
ParameterAnnotationsAttr.addAnnotation(int parameter,
Annotation annotation) |
Annotation.MemberValue |
Annotation.makeMemberValue(Annotation value) |
void |
Annotation.putMemberValue(String name,
Annotation value) |
Modifier and Type | Method and Description |
---|---|
protected Annotation |
AnnotationDescParser.buildRootAnnotation(TypeDesc rootAnnotationType)
Override this method if a root annotation is not provided, as it must be
built after parsing the root annotation type.
|
Annotation |
AnnotationDescParser.parse(Annotation rootAnnotation)
Parses the given annotation, returning the root annotation that received
the results.
|
Modifier and Type | Method and Description |
---|---|
Annotation |
AnnotationDescParser.parse(Annotation rootAnnotation)
Parses the given annotation, returning the root annotation that received
the results.
|
Object |
AnnotationBuilder.visit(String name,
int pos,
Annotation[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
Annotation value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
boolean[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
boolean value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
byte[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
byte value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
char[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
char value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
Class[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
Class value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
double[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
double value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
Enum[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
Enum value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
float[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
float value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
int[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
int value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
long[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
long value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
short[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
short value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
String[] value,
Annotation ann) |
Object |
AnnotationBuilder.visit(String name,
int pos,
String value,
Annotation ann) |
Copyright © 2004-2015 Cojen. All Rights Reserved.