API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.lang.model.util. SimpleAnnotationValueVisitor6 View Source
Author(s)
Joseph D. Darcy
Scott Seligman
Peter von der Ahé
Since
1.6
Version
1.6 06/08/15
Serial
Hierarchy
 Object
      AbstractAnnotationValueVisitor6
          SimpleAnnotationValueVisitor6
Implements
Subclasses
Description
@SupportedSourceVersion (value=RELEASE_6)
public class SimpleAnnotationValueVisitor6
  A simple visitor for annotation values with default behavior appropriate for the RELEASE_6 source version.
See also:   
Constructors
protected SimpleAnnotationValueVisitor6 ()
Constructor for concrete subclasses; uses null for the default value.
protected SimpleAnnotationValueVisitor6 ( R defaultValue)
  Constructor for concrete subclasses; uses the argument for the default value.
Methods
Hide/Show inherited methods
protected R defaultAction (Object o, P p)
  The default action for visit methods.
publicfinal R visit (AnnotationValue av) [Inherited From AbstractAnnotationValueVisitor6]
  Visits an annotation value as if by passing itself to that value's accept method passing null for the additional parameter.
publicfinal R visit (AnnotationValue av, P p) [Inherited From AbstractAnnotationValueVisitor6]
  Visits an annotation value as if by passing itself to that value's accept.
public R visitAnnotation (AnnotationMirror a, P p)
  Visits an annotation value in an annotation. This implementation calls defaultAction.
public R visitArray (List<AnnotationValue> vals, P p)
  Visits an array value in an annotation. This implementation calls defaultAction.
public R visitBoolean (boolean b, P p)
  Visits a boolean value in an annotation. This implementation calls defaultAction.
public R visitByte (byte b, P p)
  Visits a byte value in an annotation. This implementation calls defaultAction.
public R visitChar (char c, P p)
  Visits a char value in an annotation. This implementation calls defaultAction.
public R visitDouble (double d, P p)
  Visits a double value in an annotation. This implementation calls defaultAction.
public R visitEnumConstant (VariableElement c, P p)
  Visits an enum value in an annotation. This implementation calls defaultAction.
public R visitFloat (float f, P p)
  Visits a float value in an annotation. This implementation calls defaultAction.
public R visitInt (int i, P p)
  Visits an int value in an annotation. This implementation calls defaultAction.
public R visitLong (long i, P p)
  Visits a long value in an annotation. This implementation calls defaultAction.
public R visitShort (short s, P p)
  Visits a short value in an annotation. This implementation calls defaultAction.
public R visitString (String s, P p)
  Visits a string value in an annotation. This implementation calls defaultAction.
public R visitType (TypeMirror t, P p)
  Visits a type value in an annotation. This implementation calls defaultAction.
public R visitUnknown (AnnotationValue av, P p) [Inherited From AbstractAnnotationValueVisitor6]
  Visits an unknown kind of annotation value.
Fields
Hide/Show inherited fields
protectedfinal R DEFAULT_VALUE
Default value to be returned; defaultAction returns this value unless the method is overridden.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar