Example usage for Java org.eclipse.jdt.core.dom PrimitiveType fields, constructors, methods, implement or subclass
The text is from its open source code.
Code | INT Type code for the primitive type "int". |
Code | CHAR Type code for the primitive type "char". |
Code | BOOLEAN Type code for the primitive type "boolean". |
Code | SHORT Type code for the primitive type "short". |
Code | LONG Type code for the primitive type "long". |
Code | FLOAT Type code for the primitive type "float". |
Code | DOUBLE Type code for the primitive type "double". |
Code | BYTE Type code for the primitive type "byte". |
Code | VOID Type code for the primitive type "void". |
SimplePropertyDescriptor | PRIMITIVE_TYPE_CODE_PROPERTY The "primitiveTypeCode" structural property of this node type (type: PrimitiveType.Code ). |
PrimitiveType(AST ast) Creates a new unparented node for a primitive type owned by the given AST. |
List | annotations() Returns the live ordered list of annotations for this Type node (added in JLS8 API). |
PrimitiveType.Code | getPrimitiveTypeCode() Returns the primitive type code. |
void | setPrimitiveTypeCode(PrimitiveType.Code typeCode) Sets the primitive type code. |
PrimitiveType.Code | toCode(String token) Returns the primitive type code corresponding to the given string, or null if none. |