net.janino
Class Java.BasicType

java.lang.Object
  |
  +--net.janino.Java.Located
        |
        +--net.janino.Java.Atom
              |
              +--net.janino.Java.Type
                    |
                    +--net.janino.Java.BasicType
All Implemented Interfaces:
Java.Locatable
Enclosing class:
Java

public static class Java.BasicType
extends Java.Type

Representation of a JavaTM "basic type" (obviously equaivalent to a "primitive type") (JLS 4.2).


Field Summary
static int BOOLEAN
           
static int BYTE
           
static int CHAR
           
static int DOUBLE
           
static int FLOAT
           
static int INT
           
static int LONG
           
static int SHORT
           
static int VOID
           
 
Constructor Summary
Java.BasicType(Scanner.Location location, int index)
           
 
Method Summary
 IClass getType()
           
 java.lang.String toString()
           
 
Methods inherited from class net.janino.Java.Type
toType
 
Methods inherited from class net.janino.Java.Atom
addConstantFloatInfo, addConstantIntegerInfo, addConstantStringInfo, allocateLocalVariable, compileError, createDummyCodeAttribute, getLocation, isType, newInserter, newOffset, newUnsetOffset, popInserter, pushInserter, restoreLocalVariables, saveLocalVariables, throwParseException, toLvalue, toLvalueOrCE, toLvalueOrPE, toRvalue, toRvalueOrCE, toRvalueOrPE, toTypeOrCE, toTypeOrPE, write, writeBranch, writeByte, writeConstantClassInfo, writeConstantDoubleInfo, writeConstantFieldrefInfo, writeConstantFloatInfo, writeConstantIntegerInfo, writeConstantInterfaceMethodrefInfo, writeConstantLongInfo, writeConstantMethodrefInfo, writeConstantStringInfo, writeInt, writeOffset, writeOpcode, writeShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VOID

public static final int VOID

BYTE

public static final int BYTE

SHORT

public static final int SHORT

CHAR

public static final int CHAR

INT

public static final int INT

LONG

public static final int LONG

FLOAT

public static final int FLOAT

DOUBLE

public static final int DOUBLE

BOOLEAN

public static final int BOOLEAN
Constructor Detail

Java.BasicType

public Java.BasicType(Scanner.Location location,
                      int index)
Method Detail

getType

public IClass getType()
Overrides:
getType in class Java.Atom

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object