|
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 |
SimpleTypeVisitor6()
Constructor for concrete subclasses; uses null for the
default value. |
protected |
SimpleTypeVisitor6(R defaultValue)
Constructor for concrete subclasses; uses the argument for the default value. |
Method Summary | |
---|---|
protected R |
defaultAction(TypeMirror e,
P p)
The default action for visit methods. |
R |
visitArray(ArrayType t,
P p)
Visits an array type. |
R |
visitDeclared(DeclaredType t,
P p)
Visits a declared type. |
R |
visitError(ErrorType t,
P p)
Visits an error type. |
R |
visitExecutable(ExecutableType t,
P p)
Visits an executable type. |
R |
visitNoType(NoType t,
P p)
Visits a NoType instance. |
R |
visitNull(NullType t,
P p)
Visits the null type. |
R |
visitPrimitive(PrimitiveType t,
P p)
Visits a primitive type. |
R |
visitTypeVariable(TypeVariable t,
P p)
Visits a type variable. |
R |
visitWildcard(WildcardType t,
P p)
Visits a wildcard type. |
Methods inherited from class javax.lang.model.util.AbstractTypeVisitor6 |
---|
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 SimpleTypeVisitor6()
null
for the
default value.
protected SimpleTypeVisitor6(R defaultValue)
defaultValue
- the value to assign to DEFAULT_VALUE
Method Detail |
---|
protected R defaultAction(TypeMirror e, P p)
DEFAULT_VALUE
; subclasses will
commonly override this method.
public R visitPrimitive(PrimitiveType t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitNull(NullType t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitArray(ArrayType t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitDeclared(DeclaredType t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitError(ErrorType t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitTypeVariable(TypeVariable t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitWildcard(WildcardType t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitExecutable(ExecutableType t, P p)
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitNoType(NoType t, P p)
NoType
instance. This implementation calls defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction