Class SimpleAnnotationValueVisitor14<R,P>
java.lang.Object
javax.lang.model.util.AbstractAnnotationValueVisitor6<R,P>
javax.lang.model.util.SimpleAnnotationValueVisitor6<R,P>
javax.lang.model.util.SimpleAnnotationValueVisitor7<R,P>
javax.lang.model.util.SimpleAnnotationValueVisitor8<R,P>
javax.lang.model.util.SimpleAnnotationValueVisitor9<R,P>
javax.lang.model.util.SimpleAnnotationValueVisitor14<R,P>
- Type Parameters:
R- the return type of this visitor's methodsP- the type of the additional parameter to this visitor's methods.
- All Implemented Interfaces:
AnnotationValueVisitor<R,P>
- Direct Known Subclasses:
SimpleAnnotationValueVisitorPreviewPREVIEW
@SupportedSourceVersion(RELEASE_27)
public class SimpleAnnotationValueVisitor14<R,P>
extends SimpleAnnotationValueVisitor9<R,P>
A simple visitor for annotation values with default behavior
appropriate for source version
RELEASE_14.
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.
- Since:
- 14
- See Also:
-
Field Summary
Fields declared in class SimpleAnnotationValueVisitor6
DEFAULT_VALUEModifier and TypeFieldDescriptionprotected final RDefault value to be returned;defaultActionreturns this value unless the method is overridden. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor for concrete subclasses; usesnullfor the default value.protectedSimpleAnnotationValueVisitor14(R defaultValue) Constructor for concrete subclasses; uses the argument for the default value. -
Method Summary
Methods declared in class SimpleAnnotationValueVisitor6
defaultAction, visitAnnotation, visitArray, visitBoolean, visitByte, visitChar, visitDouble, visitEnumConstant, visitFloat, visitInt, visitLong, visitShort, visitString, visitTypeModifier and TypeMethodDescriptionprotected RdefaultAction(Object o, P p) The default action for visit methods.visitAnnotation(AnnotationMirror a, P p) Visits an annotation value in an annotation.visitArray(List<? extends AnnotationValue> vals, P p) Visits an array value in an annotation.visitBoolean(boolean b, P p) Visits abooleanvalue in an annotation.Visits abytevalue in an annotation.Visits acharvalue in an annotation.visitDouble(double d, P p) Visits adoublevalue in an annotation.Visits anenumvalue in an annotation.visitFloat(float f, P p) Visits afloatvalue in an annotation.Visits anintvalue in an annotation.Visits alongvalue in an annotation.visitShort(short s, P p) Visits ashortvalue in an annotation.visitString(String s, P p) Visits a string value in an annotation.visitType(TypeMirror t, P p) Visits a type value in an annotation.Methods declared in class AbstractAnnotationValueVisitor6
visit, visit, visitUnknownModifier and TypeMethodDescriptionfinal Rvisit(AnnotationValue av) Visits an annotation value as if by passing itself to that value'sacceptmethod passingnullfor the additional parameter.final Rvisit(AnnotationValue av, P p) Visits any annotation value as if by passing itself to that value'saccept.visitUnknown(AnnotationValue av, P p) Visits an unknown kind of annotation value.Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitModifier and TypeMethodDescriptionprotected Objectclone()Answers a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.booleanCompares the argument to the receiver, and answers true if they represent the same object using a class specific comparison.protected voidfinalize()Deprecated, for removal: This API element is subject to removal in a future version.May cause performance issues, deadlocks and hangs.getClass()Answers the unique instance of java.lang.Class which represents the class of the receiver.inthashCode()Answers an integer hash code for the receiver.final voidnotify()Causes one thread which iswaiting on the receiver to be made ready to run.final voidCauses all threads which arewaiting on the receiver to be made ready to run.toString()Answers a string containing a concise, human-readable description of the receiver.final voidwait()Causes the thread which sent this message to be made not ready to run pending some change in the receiver (as indicated bynotifyornotifyAll).final voidwait(long time) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.final voidwait(long time, int frac) Causes the thread which sent this message to be made not ready to run either pending some change in the receiver (as indicated bynotifyornotifyAll) or the expiration of the timeout.
-
Constructor Details
-
SimpleAnnotationValueVisitor14
protected SimpleAnnotationValueVisitor14()Constructor for concrete subclasses; usesnullfor the default value. -
SimpleAnnotationValueVisitor14
Constructor for concrete subclasses; uses the argument for the default value.- Parameters:
defaultValue- the value to assign toSimpleAnnotationValueVisitor6.DEFAULT_VALUE
-