|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.lang.model.util
|
Field Summary |
---|
Fields inherited from class javax.lang.model.util.SimpleTypeVisitor6 |
---|
DEFAULT_VALUE |
Constructor Summary | |
---|---|
protected |
TypeKindVisitor6()
Constructor for concrete subclasses to call; uses null
for the default value. |
protected |
TypeKindVisitor6(R defaultValue)
Constructor for concrete subclasses to call; uses the argument for the default value. |
Method Summary | |
---|---|
R |
visitNoType(NoType t,
P p)
Visits a NoType instance, dispatching to the visit method for
the specific kind of pseudo-type:
VOID , PACKAGE , or NONE . |
R |
visitNoTypeAsNone(NoType t,
P p)
Visits a NONE pseudo-type by calling
defaultAction . |
R |
visitNoTypeAsPackage(NoType t,
P p)
Visits a PACKAGE pseudo-type by calling
defaultAction . |
R |
visitNoTypeAsVoid(NoType t,
P p)
Visits a VOID pseudo-type by calling
defaultAction . |
R |
visitPrimitive(PrimitiveType t,
P p)
Visits a primitive type, dispatching to the visit method for the specific kind of primitive type: BOOLEAN , BYTE , etc. |
R |
visitPrimitiveAsBoolean(PrimitiveType t,
P p)
Visits a BOOLEAN primitive type by calling
defaultAction . |
R |
visitPrimitiveAsByte(PrimitiveType t,
P p)
Visits a BYTE primitive type by calling
defaultAction . |
R |
visitPrimitiveAsChar(PrimitiveType t,
P p)
Visits a CHAR primitive type by calling
defaultAction . |
R |
visitPrimitiveAsDouble(PrimitiveType t,
P p)
Visits a DOUBLE primitive type by calling
defaultAction . |
R |
visitPrimitiveAsFloat(PrimitiveType t,
P p)
Visits a FLOAT primitive type by calling
defaultAction . |
R |
visitPrimitiveAsInt(PrimitiveType t,
P p)
Visits an INT primitive type by calling
defaultAction . |
R |
visitPrimitiveAsLong(PrimitiveType t,
P p)
Visits a LONG primitive type by calling
defaultAction . |
R |
visitPrimitiveAsShort(PrimitiveType t,
P p)
Visits a SHORT primitive type by calling
defaultAction . |
Methods inherited from class javax.lang.model.util.SimpleTypeVisitor6 |
---|
defaultAction, visitArray, visitDeclared, visitError, visitExecutable, visitNull, visitTypeVariable, visitWildcard |
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 |
Constructor Detail |
---|
protected TypeKindVisitor6()
null
for the default value.
protected TypeKindVisitor6(R defaultValue)
defaultValue
- the value to assign to SimpleTypeVisitor6.DEFAULT_VALUE
Method Detail |
---|
public R visitPrimitive(PrimitiveType t, P p)
BOOLEAN
, BYTE
, etc.
visitPrimitive
in interface TypeVisitor<R,P>
visitPrimitive
in class SimpleTypeVisitor6<R,P>
t
- the type to visitp
- a visitor-specified parameter
public R visitPrimitiveAsBoolean(PrimitiveType t, P p)
BOOLEAN
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitPrimitiveAsByte(PrimitiveType t, P p)
BYTE
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitPrimitiveAsShort(PrimitiveType t, P p)
SHORT
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitPrimitiveAsInt(PrimitiveType t, P p)
INT
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitPrimitiveAsLong(PrimitiveType t, P p)
LONG
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitPrimitiveAsChar(PrimitiveType t, P p)
CHAR
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitPrimitiveAsFloat(PrimitiveType t, P p)
FLOAT
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitPrimitiveAsDouble(PrimitiveType t, P p)
DOUBLE
primitive type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitNoType(NoType t, P p)
NoType
instance, dispatching to the visit method for
the specific kind of pseudo-type:
VOID
, PACKAGE
, or NONE
.
visitNoType
in interface TypeVisitor<R,P>
visitNoType
in class SimpleTypeVisitor6<R,P>
t
- the type to visitp
- a visitor-specified parameter
public R visitNoTypeAsVoid(NoType t, P p)
VOID
pseudo-type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitNoTypeAsPackage(NoType t, P p)
PACKAGE
pseudo-type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction
public R visitNoTypeAsNone(NoType t, P p)
NONE
pseudo-type by calling
defaultAction
.
t
- the type to visitp
- a visitor-specified parameter
defaultAction