RELEASE_6
source version. Visit methods call defaultAction passing their arguments to defaultAction's
corresponding parameters.
API Note
Methods in this class may be overridden subject to their general contract.
WARNING: The AnnotationValueVisitor interface implemented by this class may
have methods added to it in the future to accommodate new,
currently unknown, language structures added to future versions of
the Java programming language. Therefore, methods whose
names begin with "visit" may be added to this class in the
future; to avoid incompatibilities, classes and subclasses which
extend this class should not declare any instance methods with
names beginning with "visit".
When such a new visit method is added, the default
implementation in this class will be to directly or indirectly call
the visitUnknown method. A new simple
annotation value visitor class will also be introduced to
correspond to the new language level; this visitor will have
different default behavior for the visit method in question. When
a new visitor is introduced, portions of this visitor class may be
deprecated, including its constructors.
SimpleAnnotationValueVisitor7, SimpleAnnotationValueVisitor8, SimpleAnnotationValueVisitor9, SimpleAnnotationValueVisitor14
| Modifier and Type | Field and Description |
|---|---|
| protected final R | DEFAULT_VALUE
Default value to be returned; |
| Access | Constructor and Description |
|---|---|
| protected | SimpleAnnotationValueVisitor6()
Deprecated
since 9. Release 6 is obsolete; update to a visitor for a newer
release level.
Constructor for concrete subclasses; uses |
| protected | SimpleAnnotationValueVisitor6(R
the value to assign to defaultValue)DEFAULT_VALUE
Deprecated
since 9. Release 6 is obsolete; update to a visitor for a newer
release level.
Constructor for concrete subclasses; uses the argument for the default value. |
| Modifier and Type | Method and Description |
|---|---|
| protected R | Returns: DEFAULT_VALUE unless overriddenthe value of the annotation o, P a visitor-specified parameter p)The default action for visit methods. |
| public R | Returns: the result ofdefaultActionImplements javax. Visits an annotation value in an annotation. |
| public R | Returns: the result ofdefaultActionImplements javax. Visits an array value in an annotation. |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a |
| public R | Returns: the result ofdefaultActionImplements javax. Visits an |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a |
| public R | Returns: the result ofdefaultActionImplements javax. Visits an |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a string value in an annotation. |
| public R | Returns: the result ofdefaultActionImplements javax. Visits a type value in an annotation. |
| DEFAULT_VALUE | back to summary |
|---|---|
| protected final R DEFAULT_VALUE Default value to be returned; | |
| SimpleAnnotationValueVisitor6 | back to summary |
|---|---|
| protected SimpleAnnotationValueVisitor6()
Deprecated since 9. Release 6 is obsolete; update to a visitor for a newer release level. Constructor for concrete subclasses; uses
| |
| SimpleAnnotationValueVisitor6 | back to summary |
|---|---|
| protected SimpleAnnotationValueVisitor6(R defaultValue)
Deprecated since 9. Release 6 is obsolete; update to a visitor for a newer release level. Constructor for concrete subclasses; uses the argument for the default value.
| |
| defaultAction | back to summary |
|---|---|
| protected R defaultAction(Object o, P p) The default action for visit methods. Implementation Specification The implementation in this class just returns
| |
| visitAnnotation | back to summary |
|---|---|
| public R visitAnnotation(AnnotationMirror a, P p) Implements javax. Doc from javax. Visits an annotation value in an annotation. Implementation Specification This implementation calls
| |
| visitArray | back to summary |
|---|---|
| public R visitArray(List<? extends AnnotationValue> vals, P p) Implements javax. Doc from javax. Visits an array value in an annotation. Implementation Specification This implementation calls
| |
| visitBoolean | back to summary |
|---|---|
| public R visitBoolean(boolean b, P p) Implements javax. Doc from javax. Visits a Implementation Specification This implementation calls
| |
| visitByte | back to summary |
|---|---|
| public R visitByte(byte b, P p) Implements javax. Doc from javax. Visits a Implementation Specification This implementation calls
| |
| visitChar | back to summary |
|---|---|
| public R visitChar(char c, P p) Implements javax. Doc from javax. Visits a Implementation Specification This implementation calls
| |
| visitDouble | back to summary |
|---|---|
| public R visitDouble(double d, P p) Implements javax. Doc from javax. Visits a Implementation Specification This implementation calls
| |
| visitEnumConstant | back to summary |
|---|---|
| public R visitEnumConstant(VariableElement c, P p) Implements javax. Doc from javax. Visits an Implementation Specification This implementation calls
| |
| visitFloat | back to summary |
|---|---|
| public R visitFloat(float f, P p) Implements javax. Doc from javax. Visits a Implementation Specification This implementation calls
| |
| visitInt | back to summary |
|---|---|
| public R visitInt(int i, P p) Implements javax. Doc from javax. Visits an Implementation Specification This implementation calls
| |
| visitLong | back to summary |
|---|---|
| public R visitLong(long i, P p) Implements javax. Doc from javax. Visits a Implementation Specification This implementation calls
| |
| visitShort | back to summary |
|---|---|
| public R visitShort(short s, P p) Implements javax. Doc from javax. Visits a Implementation Specification This implementation calls
| |
| visitString | back to summary |
|---|---|
| public R visitString(String s, P p) Implements javax. Doc from javax. Visits a string value in an annotation. Implementation Specification This implementation calls
| |
| visitType | back to summary |
|---|---|
| public R visitType(TypeMirror t, P p) Implements javax. Doc from javax. Visits a type value in an annotation. Implementation Specification This implementation calls
| |