All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class espresso.util.Type

java.lang.Object
   |
   +----espresso.util.Type

public abstract class Type
extends Object

Variable Index

 o Boolean
 o BooleanRep
 o Byte
 o ByteRep
 o cache_d
 o CACHE_SIZE
 o Char
 o CharRep
 o Double
 o DoubleRep
 o Float
 o FloatRep
 o Int
 o IntRep
 o Long
 o LongRep
 o Null
 o NullRep
 o Short
 o ShortRep
 o Void
 o VoidRep

Constructor Index

 o Type()

Method Index

 o ()
 o ADD()
 o ALOAD()
 o AND()
 o ASTORE()
 o CAST(Type)
 o CMP(boolean)
 o createClassType(String)
Search for class types without 'L' and ';'.
 o createClassType(Symbol)
 o createType(String)
 o createType(Symbol)
 o distanceTo(Type)
 o DIV()
 o DUP()
 o DUPX1()
 o DUPX2()
 o floatingPointType()
 o identicalTo(Type)
 o IFEQ(boolean)
 o IFGE(boolean)
 o IFGT(boolean)
 o IFLE(boolean)
 o IFLT(boolean)
 o IFNE(boolean)
 o integralType()
 o LOAD(int)
 o MUL()
 o NEG()
 o NEWARRAY(int)
 o numericType()
 o oneWord()
Determines if vars of this type fit in one word.
 o OR()
 o parseType(StringReader)
 o POP()
 o primitiveType()
 o PUSH(ConstantPoolGen, BigDecimal)
 o referenceType()
 o relatedTo(Type)
Determines if two ref types belong to the same branch of the subtype relation hierarchy.
 o REM()
 o RETURN()
 o SHL()
 o SHR()
 o STORE(int)
 o SUB()
 o subTypeOf(Type)
 o superTypeOf(Type)
 o toClassFileType()
 o toInternalString()
 o toString()
 o twoWords()
Determines if vars of this type need two words.
 o USHR()
 o XOR()

Variables

 o CACHE_SIZE
 static final int CACHE_SIZE
 o VoidRep
 protected static final String VoidRep
 o ByteRep
 protected static final String ByteRep
 o CharRep
 protected static final String CharRep
 o DoubleRep
 protected static final String DoubleRep
 o FloatRep
 protected static final String FloatRep
 o IntRep
 protected static final String IntRep
 o LongRep
 protected static final String LongRep
 o ShortRep
 protected static final String ShortRep
 o BooleanRep
 protected static final String BooleanRep
 o NullRep
 protected static final String NullRep
 o Null
 public static final Type Null
 o Void
 public static final Type Void
 o Byte
 public static final Type Byte
 o Char
 public static final Type Char
 o Double
 public static final Type Double
 o Float
 public static final Type Float
 o Int
 public static final Type Int
 o Long
 public static final Type Long
 o Short
 public static final Type Short
 o Boolean
 public static final Type Boolean
 o cache_d
 static Hashtable cache_d

Constructors

 o Type
 Type()

Methods

 o subTypeOf
 public abstract boolean subTypeOf(Type other)
 o superTypeOf
 public abstract boolean superTypeOf(Type other)
 o identicalTo
 public abstract boolean identicalTo(Type other)
 o distanceTo
 public abstract int distanceTo(Type other)
 o referenceType
 public abstract boolean referenceType()
 o primitiveType
 public abstract boolean primitiveType()
 o numericType
 public abstract boolean numericType()
 o integralType
 public abstract boolean integralType()
 o floatingPointType
 public abstract boolean floatingPointType()
 o toString
 public abstract String toString()
Overrides:
toString in class Object
 o toInternalString
 public String toInternalString()
 o toClassFileType
 public abstract ClassGenType toClassFileType()
 o relatedTo
 public boolean relatedTo(Type other)
Determines if two ref types belong to the same branch of the subtype relation hierarchy.

 o createType
 public static Type createType(Symbol rep)
 o createType
 public static Type createType(String rep)
 o createClassType
 public static ClassType createClassType(String rep)
Search for class types without 'L' and ';'. This is useful to use the cache after types have been parsed.

 o createClassType
 public static ClassType createClassType(Symbol rep)
 o
 static void ()
 o parseType
 static Type parseType(StringReader buffer) throws IOException
 o oneWord
 public boolean oneWord()
Determines if vars of this type fit in one word. Defaults to true but overriden at DoubleType and LongType.

 o twoWords
 public boolean twoWords()
Determines if vars of this type need two words. Defaults to false but overriden at DoubleType and LongType.

 o DUP
 public Instruction DUP()
 o DUPX1
 public Instruction DUPX1()
 o DUPX2
 public Instruction DUPX2()
 o RETURN
 public Instruction RETURN()
 o LOAD
 public Instruction LOAD(int slot)
 o STORE
 public Instruction STORE(int slot)
 o ALOAD
 public Instruction ALOAD()
 o ASTORE
 public Instruction ASTORE()
 o CMP
 public Instruction CMP(boolean less)
 o IFGT
 public Instruction IFGT(boolean tozero)
 o IFLT
 public Instruction IFLT(boolean tozero)
 o IFGE
 public Instruction IFGE(boolean tozero)
 o IFLE
 public Instruction IFLE(boolean tozero)
 o IFEQ
 public Instruction IFEQ(boolean tozero)
 o IFNE
 public Instruction IFNE(boolean tozero)
 o POP
 public Instruction POP()
 o PUSH
 public Instruction PUSH(ConstantPoolGen cpg,
                         BigDecimal value)
 o ADD
 public Instruction ADD()
 o SUB
 public Instruction SUB()
 o MUL
 public Instruction MUL()
 o DIV
 public Instruction DIV()
 o REM
 public Instruction REM()
 o NEG
 public Instruction NEG()
 o AND
 public Instruction AND()
 o OR
 public Instruction OR()
 o XOR
 public Instruction XOR()
 o SHL
 public Instruction SHL()
 o SHR
 public Instruction SHR()
 o USHR
 public Instruction USHR()
 o NEWARRAY
 public Instruction NEWARRAY(int index)
 o CAST
 public InstructionList CAST(Type other)

All Packages  Class Hierarchy  This Package  Previous  Next  Index