API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.lang.model.util. ElementScanner6 View Source
Author(s)
Joseph D. Darcy
Scott Seligman
Peter von der Ahé
Since
1.6
Version
1.7 06/08/15
Serial
Hierarchy
 Object
      AbstractElementVisitor6
          ElementScanner6
Implements
Subclasses
Description
@SupportedSourceVersion (value=RELEASE_6)
public class ElementScanner6
  A scanning visitor of program elements with default behavior appropriate for the RELEASE_6 source version.
See also:   
Constructors
protected ElementScanner6 ()
Constructor for concrete subclasses; uses null for the default value.
protected ElementScanner6 ( R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value.
Methods
Hide/Show inherited methods
publicfinal R scan (Element e)
  Convenience method equivalent to v.scan(e, null).
public R scan (Element e, P p)
  Processes an element by calling e.accept(this, p); this method may be overridden by subclasses.
publicfinal R scan (Iterable<Element> iterable, P p)
  Iterates over the given elements and calls scan(Element, P) on each one.
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.
public R visitExecutable (ExecutableElement e, P p)
  Visits an executable element. This implementation scans the parameters.
public R visitPackage (PackageElement e, P p)
  Visits a package element. This implementation scans the enclosed elements.
public R visitType (TypeElement e, P p)
  Visits a type element. This implementation scans the enclosed elements.
public R visitTypeParameter (TypeParameterElement e, P p)
  Visits a type parameter element. This implementation scans the enclosed elements.
public R visitUnknown (Element e, P p) [Inherited From AbstractElementVisitor6]
  Visits an unknown kind of element.
public R visitVariable (VariableElement e, P p)
  Visits a variable element. This implementation scans the enclosed elements.
Fields
Hide/Show inherited fields
protectedfinal R DEFAULT_VALUE
The specified default value.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar