API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.lang.model.util. ElementKindVisitor6 View Source
Author(s)
Joseph D. Darcy
Scott Seligman
Peter von der Ahé
Since
1.6
Version
1.5 06/08/07
Serial
Hierarchy
 Object
      AbstractElementVisitor6
          SimpleElementVisitor6
              ElementKindVisitor6
Implements
Subclasses
Description
@SupportedSourceVersion (value=RELEASE_6)
public class ElementKindVisitor6
  A visitor of program elements based on their kind with default behavior appropriate for the RELEASE_6 source version.
See also:   
Constructors
protected ElementKindVisitor6 ()
Constructor for concrete subclasses; uses null for the default value.
protected ElementKindVisitor6 ( R defaultValue)
  Constructor for concrete subclasses; uses the argument for the default value.
Methods
Hide/Show inherited methods
protected R defaultAction (Element e, P p) [Inherited From SimpleElementVisitor6]
  The default action for visit methods.
publicfinal R visit (Element e) [Inherited From AbstractElementVisitor6]
  Visits any program element as if by passing itself to that element's accept method and passing null for the additional parameter.
publicfinal R visit (Element e, P p) [Inherited From AbstractElementVisitor6]
  Visits any program element as if by passing itself to that element's accept method.
@Override
public R visitExecutable (ExecutableElement e, P p) [Overrides SimpleElementVisitor6]
  Visits an executable element, dispatching to the visit method for the specific kind of executable, CONSTRUCTOR, INSTANCE_INIT, METHOD, or STATIC_INIT.
public R visitExecutableAsConstructor (ExecutableElement e, P p)
  Visits a CONSTRUCTOR executable element by calling defaultAction.
public R visitExecutableAsInstanceInit (ExecutableElement e, P p)
  Visits an INSTANCE_INIT executable element by calling defaultAction.
public R visitExecutableAsMethod (ExecutableElement e, P p)
  Visits a METHOD executable element by calling defaultAction.
public R visitExecutableAsStaticInit (ExecutableElement e, P p)
  Visits a STATIC_INIT executable element by calling defaultAction.
@Override
public R visitPackage (PackageElement e, P p) [Overrides SimpleElementVisitor6]
  Visits a package element. This implementation calls defaultAction. The element argument has kind PACKAGE.
@Override
public R visitType (TypeElement e, P p) [Overrides SimpleElementVisitor6]
  Visits a type element, dispatching to the visit method for the specific kind of type, ANNOTATION_TYPE, CLASS, ENUM, or INTERFACE.
public R visitTypeAsAnnotationType (TypeElement e, P p)
  Visits an ANNOTATION_TYPE type element by calling defaultAction.
public R visitTypeAsClass (TypeElement e, P p)
  Visits a CLASS type element by calling defaultAction.
public R visitTypeAsEnum (TypeElement e, P p)
  Visits an ENUM type element by calling defaultAction.
public R visitTypeAsInterface (TypeElement e, P p)
  Visits an INTERFACE type element by calling defaultAction.
@Override
public R visitTypeParameter (TypeParameterElement e, P p) [Overrides SimpleElementVisitor6]
  Visits a type parameter element. This implementation calls defaultAction. The element argument has kind TYPE_PARAMETER.
public R visitUnknown (Element e, P p) [Inherited From AbstractElementVisitor6]
  Visits an unknown kind of element.
@Override
public R visitVariable (VariableElement e, P p) [Overrides SimpleElementVisitor6]
  Visits a variable element, dispatching to the visit method for the specific kind of variable, ENUM_CONSTANT, EXCEPTION_PARAMETER, FIELD, LOCAL_VARIABLE, or PARAMETER.
public R visitVariableAsEnumConstant (VariableElement e, P p)
  Visits an ENUM_CONSTANT variable element by calling defaultAction.
public R visitVariableAsExceptionParameter (VariableElement e, P p)
  Visits an EXCEPTION_PARAMETER variable element by calling defaultAction.
public R visitVariableAsField (VariableElement e, P p)
  Visits a FIELD variable element by calling defaultAction.
public R visitVariableAsLocalVariable (VariableElement e, P p)
  Visits a LOCAL_VARIABLE variable element by calling defaultAction.
public R visitVariableAsParameter (VariableElement e, P p)
  Visits a PARAMETER variable element by calling defaultAction.
Fields
Hide/Show inherited fields
protectedfinal R DEFAULT_VALUE [Inherited From SimpleElementVisitor6]
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