Java org.eclipse.jdt.core.dom PrimitiveType fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom PrimitiveType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom PrimitiveType.

The text is from its open source code.

Field

CodeINT
Type code for the primitive type "int".
CodeCHAR
Type code for the primitive type "char".
CodeBOOLEAN
Type code for the primitive type "boolean".
CodeSHORT
Type code for the primitive type "short".
CodeLONG
Type code for the primitive type "long".
CodeFLOAT
Type code for the primitive type "float".
CodeDOUBLE
Type code for the primitive type "double".
CodeBYTE
Type code for the primitive type "byte".
CodeVOID
Type code for the primitive type "void".
SimplePropertyDescriptorPRIMITIVE_TYPE_CODE_PROPERTY
The "primitiveTypeCode" structural property of this node type (type: PrimitiveType.Code ).

Constructor

PrimitiveType(AST ast)
Creates a new unparented node for a primitive type owned by the given AST.

Method

Listannotations()
Returns the live ordered list of annotations for this Type node (added in JLS8 API).
PrimitiveType.CodegetPrimitiveTypeCode()
Returns the primitive type code.
voidsetPrimitiveTypeCode(PrimitiveType.Code typeCode)
Sets the primitive type code.
PrimitiveType.CodetoCode(String token)
Returns the primitive type code corresponding to the given string, or null if none.