|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.eclipse.jdt.core.dom.ASTNode
|
+--org.eclipse.jdt.core.dom.Type
Abstract base class of all type AST node types. A type node represents a reference to a primitive type (including void), to a named class or interface type, or to an array type.
Type:
PrimitiveType
SimpleType
ArrayType
PrimitiveType:
byte
short
char
int
long
float
double
boolean
void
SimpleType:
TypeName
ArrayType:
Type [ ]
| Field Summary |
| Method Summary | |
boolean |
isArrayType()
Returns whether this type is an array type ( ArrayType). |
boolean |
isPrimitiveType()
Returns whether this type is a primitive type ( PrimitiveType). |
boolean |
isSimpleType()
Returns whether this type is a simple type ( SimpleType). |
ITypeBinding |
resolveBinding()
Resolves and returns the binding for this type. |
| Methods inherited from class org.eclipse.jdt.core.dom.ASTNode |
accept, copySubtree, copySubtrees, equals, getAST, getFlags, getLength, getNodeType, getParent, getProperty, getRoot, getStartPosition, properties, setFlags, setProperty, setSourceRange, subtreeBytes, subtreeMatch, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public final boolean isPrimitiveType()
PrimitiveType).
true if this is a primitive type, and
false otherwisepublic final boolean isSimpleType()
SimpleType).
true if this is a simple type, and
false otherwisepublic final boolean isArrayType()
ArrayType).
true if this is an array type, and
false otherwisepublic final ITypeBinding resolveBinding()
Note that bindings are generally unavailable unless requested when the AST is being built.
null if the binding cannot be
resolved
|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||