public class AnnotationBuilder extends AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
Constructor and Description |
---|
AnnotationBuilder() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.annotation.Annotation[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.annotation.Annotation value,
org.cojen.classfile.attribute.Annotation ann)
Visits an annotation by breaking it down into its components and calling
various other visit methods.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
boolean[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
boolean value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit booleans.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
byte[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
byte value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit bytes.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
char[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
char value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit chars.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.Class[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.Class value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit Classes.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
double[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
double value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit doubles.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.Enum[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.Enum value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit Enums.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
float[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
float value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit floats.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
int[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
int value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit ints.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
long[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
long value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit longs.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
short[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
short value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit shorts.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.String[] value,
org.cojen.classfile.attribute.Annotation ann)
Visits each array element.
|
java.lang.Object |
visit(java.lang.String name,
int pos,
java.lang.String value,
org.cojen.classfile.attribute.Annotation ann)
Override to visit Strings.
|
visit
public java.lang.Object visit(java.lang.String name, int pos, java.lang.annotation.Annotation value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array member or not part of an annotationpos
- position of member in list or arrayvalue
- Annotation visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, int value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- int visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, long value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- long visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, float value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- float visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, double value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- double visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, boolean value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- boolean visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, byte value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- byte visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, short value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- short visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, char value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- char visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, java.lang.String value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- String visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, java.lang.Class value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- Class visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, java.lang.Enum value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- Enum visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, java.lang.annotation.Annotation[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- Annotation array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, int[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- int array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, long[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- long array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, float[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- float array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, double[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- double array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, boolean[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- boolean array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, byte[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- byte array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, short[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- short array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, char[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- char array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, java.lang.String[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- String array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, java.lang.Class[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- Class array visitedann
- custom parameterpublic java.lang.Object visit(java.lang.String name, int pos, java.lang.Enum[] value, org.cojen.classfile.attribute.Annotation ann)
AnnotationVisitor
visit
in class AnnotationVisitor<java.lang.Object,org.cojen.classfile.attribute.Annotation>
name
- member name, or null if array memberpos
- position of member in list or arrayvalue
- Enum array visitedann
- custom parameterCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.