|
Préférences
Moteurs de recherche
|
||||||||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.lang.model.util
|
Field Summary | |
---|---|
protected R |
DEFAULT_VALUE
Default value to be returned; defaultAction returns this value unless the method is
overridden. |
Constructor Summary | |
---|---|
protected |
SimpleElementVisitor6()
Constructor for concrete subclasses; uses null for the
default value. |
protected |
SimpleElementVisitor6(R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value. |
Method Summary | |
---|---|
protected R |
defaultAction(Element e,
P p)
The default action for visit methods. |
R |
visitExecutable(ExecutableElement e,
P p)
Visits an executable element. |
R |
visitPackage(PackageElement e,
P p)
Visits a package element. |
R |
visitType(TypeElement e,
P p)
Visits a type element. |
R |
visitTypeParameter(TypeParameterElement e,
P p)
Visits a type parameter element. |
R |
visitVariable(VariableElement e,
P p)
Visits a variable element. |
Methods inherited from class javax.lang.model.util.AbstractElementVisitor6 |
---|
visit, visit, visitUnknown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final R DEFAULT_VALUE
defaultAction
returns this value unless the method is
overridden.
Constructor Detail |
---|
protected SimpleElementVisitor6()
null
for the
default value.
protected SimpleElementVisitor6(R defaultValue)
defaultValue
- the value to assign to DEFAULT_VALUE
Method Detail |
---|
protected R defaultAction(Element e, P p)
DEFAULT_VALUE
; subclasses will
commonly override this method.
e
- the element to processp
- a visitor-specified parameter
DEFAULT_VALUE
unless overriddenpublic R visitPackage(PackageElement e, P p)
defaultAction
.
e
- the element to visitp
- a visitor-specified parameter
defaultAction
public R visitType(TypeElement e, P p)
defaultAction
.
e
- the element to visitp
- a visitor-specified parameter
defaultAction
public R visitVariable(VariableElement e, P p)
defaultAction
.
e
- the element to visitp
- a visitor-specified parameter
defaultAction
public R visitExecutable(ExecutableElement e, P p)
defaultAction
.
e
- the element to visitp
- a visitor-specified parameter
defaultAction
public R visitTypeParameter(TypeParameterElement e, P p)
defaultAction
.
e
- the element to visitp
- a visitor-specified parameter
defaultAction