Type

A type.

Methods
String asString()
Get the C++ code.
String asString()
Get the C++ code.
Returns:
the C++ code
boolean equals(Object other)
boolean equals(Object other)
Expr getDefaultValue(JavaParser context)
Get the default value, for primitive types (0 usually).
Expr getDefaultValue(JavaParser context)
Get the default value, for primitive types (0 usually).
Parameters:
context - the context
Returns:
the expression
int hashCode()
int hashCode()
boolean isObject()
Whether this is a array or an non-primitive type.
boolean isObject()
Whether this is a array or an non-primitive type.
Returns:
true if yes
String toString()
String toString()

Fields
static int arrayLevel
static ClassObj classObj
static boolean isVarArgs
static boolean refCount

arrayLevel

The array nesting level. 0 if not an array.

classObj

The class.

isVarArgs

Whether this is a var args parameter.

refCount

Use ref-counting.