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