|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Type
org.codehaus.janino.Java.BasicType
public static final class Java.BasicType
Representation of a JLS7 18 "basic type" (obviously equivalent to a JLS7 4.2 "primitive type").
| Field Summary | |
|---|---|
static int |
BOOLEAN
Value representing the BOOLEAN type. |
static int |
BYTE
Value representing the BYTE type. |
static int |
CHAR
Value representing the CHAR type. |
static int |
DOUBLE
Value representing the DOUBLE type. |
static int |
FLOAT
Value representing the FLOAT type. |
int |
index
One of VOID, BYTE and consorts. |
static int |
INT
Value representing the INT type. |
static int |
LONG
Value representing the LONG type. |
static int |
SHORT
Value representing the SHORT type. |
static int |
VOID
Value representing the VOID type. |
| Fields inherited from class org.codehaus.janino.Java.Located |
|---|
NOWHERE |
| Constructor Summary | |
|---|---|
Java.BasicType(Location location,
int index)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor.AtomVisitor visitor)
Invokes the ' visit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type. |
void |
accept(Visitor.TypeVisitor visitor)
Invokes the ' visit...()' method of Visitor.TypeVisitor for the concrete Java.Type type. |
String |
toString()
|
| Methods inherited from class org.codehaus.janino.Java.Type |
|---|
getEnclosingScope, setEnclosingScope, toType |
| Methods inherited from class org.codehaus.janino.Java.Atom |
|---|
toLvalue, toLvalueOrCompileException, toRvalue, toRvalueOrCompileException, toTypeOrCompileException |
| Methods inherited from class org.codehaus.janino.Java.Located |
|---|
getLocation, throwCompileException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int index
VOID, BYTE and consorts.
public static final int VOID
public static final int BYTE
public static final int SHORT
public static final int CHAR
public static final int INT
public static final int LONG
public static final int FLOAT
public static final int DOUBLE
public static final int BOOLEAN
| Constructor Detail |
|---|
public Java.BasicType(Location location,
int index)
| Method Detail |
|---|
public String toString()
toString in class Java.Atompublic void accept(Visitor.TypeVisitor visitor)
Java.Typevisit...()' method of Visitor.TypeVisitor for the concrete Java.Type type.
accept in class Java.Typepublic void accept(Visitor.AtomVisitor visitor)
Java.Atomvisit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type.
accept in class Java.Atom
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||