Package | Description |
---|---|
org.eclipse.jdt.core.dom |
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
|
Modifier and Type | Field and Description |
---|---|
static PrimitiveType.Code |
PrimitiveType.BOOLEAN
Type code for the primitive type "boolean".
|
static PrimitiveType.Code |
PrimitiveType.BYTE
Type code for the primitive type "byte".
|
static PrimitiveType.Code |
PrimitiveType.CHAR
Type code for the primitive type "char".
|
static PrimitiveType.Code |
PrimitiveType.DOUBLE
Type code for the primitive type "double".
|
static PrimitiveType.Code |
PrimitiveType.FLOAT
Type code for the primitive type "float".
|
static PrimitiveType.Code |
PrimitiveType.INT
Type code for the primitive type "int".
|
static PrimitiveType.Code |
PrimitiveType.LONG
Type code for the primitive type "long".
|
static PrimitiveType.Code |
PrimitiveType.SHORT
Type code for the primitive type "short".
|
static PrimitiveType.Code |
PrimitiveType.VOID
Type code for the primitive type "void".
|
Modifier and Type | Method and Description |
---|---|
PrimitiveType.Code |
PrimitiveType.getPrimitiveTypeCode()
Returns the primitive type code.
|
static PrimitiveType.Code |
PrimitiveType.toCode(String token)
Returns the primitive type code corresponding to the given string,
or
null if none. |
Modifier and Type | Method and Description |
---|---|
PrimitiveType |
AST.newPrimitiveType(PrimitiveType.Code typeCode)
Creates and returns a new unparented primitive type node with the given
type code.
|
void |
PrimitiveType.setPrimitiveTypeCode(PrimitiveType.Code typeCode)
Sets the primitive type code.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.