public class CDType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CDType |
BOOLEAN |
static CDType |
INTEGER |
static CDType |
STRING |
static CDType |
VOID |
Constructor and Description |
---|
CDType(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
CDObjectCreateExpression |
_new()
Creates a new instance of this type.
|
CDType |
array()
Gets the array type of this type.
|
java.lang.String |
getName()
Gets the display name of the type.
|
boolean |
isArray()
Returns true if this is an array type.
|
void |
writeType(CDFormatter f)
Prints the type name.
|
public static final CDType VOID
public static final CDType INTEGER
public static final CDType BOOLEAN
public static final CDType STRING
public java.lang.String getName()
public CDObjectCreateExpression _new()
public CDType array()
public void writeType(CDFormatter f) throws java.io.IOException
java.io.IOException
public boolean isArray()