|
Préférences
Moteurs de recherche
|
|||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.lang.model.util
|
Constructor Summary | |
---|---|
protected |
AbstractTypeVisitor6()
Constructor for concrete subclasses to call. |
Method Summary | |
---|---|
R |
visit(TypeMirror t)
Visits any type mirror as if by passing itself to that type mirror's accept method and passing
null for the additional parameter. |
R |
visit(TypeMirror t,
P p)
Visits any type mirror as if by passing itself to that type mirror's accept method. |
R |
visitUnknown(TypeMirror t,
P p)
Visits an unknown kind of type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.lang.model.type.TypeVisitor |
---|
visitArray, visitDeclared, visitError, visitExecutable, visitNoType, visitNull, visitPrimitive, visitTypeVariable, visitWildcard |
Constructor Detail |
---|
protected AbstractTypeVisitor6()
Method Detail |
---|
public final R visit(TypeMirror t, P p)
accept
method. The
invocation v.visit(t, p)
is equivalent to t.accept(v, p)
.
visit
in interface TypeVisitor<R,P>
t
- the type to visitp
- a visitor-specified parameter
public final R visit(TypeMirror t)
accept
method and passing
null
for the additional parameter. The invocation
v.visit(t)
is equivalent to t.accept(v, null)
.
visit
in interface TypeVisitor<R,P>
t
- the type to visit
public R visitUnknown(TypeMirror t, P p)
TypeMirror
hierarchy.
The default implementation of this method in AbstractTypeVisitor6
will always throw UnknownTypeException
. This behavior is not required of a
subclass.
visitUnknown
in interface TypeVisitor<R,P>
t
- the type to visitp
- a visitor-specified parameter
UnknownTypeException
- a visitor implementation may optionally throw this exception