junc.types
Class VoidType
java.lang.Object
|
+--junc.types.JUnCBaseType
|
+--junc.types.PrimitiveType
|
+--junc.types.VoidType
- public class VoidType
- extends PrimitiveType
| Fields inherited from class junc.types.JUnCBaseType |
Boolean, BooleanRep, Byte, ByteRep, Char, CharRep, Double, DoubleRep, Error, Exception, Float, FloatRep, Int, IntRep, Long, LongRep, Null, NullRep, RuntimeException, Short, ShortRep, Throwable, Void, VoidRep |
|
Method Summary |
int |
distanceTo(junc.types.JUnCBaseType other)
|
boolean |
floatingPointType()
|
boolean |
identicalTo(junc.types.JUnCBaseType other)
|
boolean |
integralType()
|
org.apache.bcel.generic.Instruction |
LOAD(int slot)
|
org.apache.bcel.generic.Instruction |
POP()
|
org.apache.bcel.generic.Instruction |
RETURN()
|
org.apache.bcel.generic.Instruction |
STORE(int slot)
|
org.apache.bcel.generic.Type |
toClassFileType()
Map an junc type to a ClassGen one. |
java.lang.String |
toString()
|
| Methods inherited from class junc.types.JUnCBaseType |
ADD, ADDSTRING, ALOAD, AND, ASTORE, CAST, CMP, createClassType, createClassType, createType, createType, DIV, IFEQ, IFGE, IFGT, IFLE, IFLT, IFNE, MUL, name, NEG, NEWARRAY, oneWord, OR, PUSH, relatedTo, REM, SHL, SHR, SUB, throwable, toInternalString, twoWords, USHR, XOR |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VoidType
public VoidType()
identicalTo
public boolean identicalTo(junc.types.JUnCBaseType other)
- Specified by:
identicalTo in class JUnCBaseType
toString
public java.lang.String toString()
- Specified by:
toString in class JUnCBaseType
distanceTo
public int distanceTo(junc.types.JUnCBaseType other)
- Specified by:
distanceTo in class PrimitiveType
integralType
public boolean integralType()
- Specified by:
integralType in class PrimitiveType
floatingPointType
public boolean floatingPointType()
- Specified by:
floatingPointType in class PrimitiveType
toClassFileType
public org.apache.bcel.generic.Type toClassFileType()
- Map an junc type to a ClassGen one.
- Specified by:
toClassFileType in class PrimitiveType
LOAD
public org.apache.bcel.generic.Instruction LOAD(int slot)
- Overrides:
LOAD in class JUnCBaseType
STORE
public org.apache.bcel.generic.Instruction STORE(int slot)
- Overrides:
STORE in class JUnCBaseType
RETURN
public org.apache.bcel.generic.Instruction RETURN()
- Overrides:
RETURN in class JUnCBaseType
POP
public org.apache.bcel.generic.Instruction POP()
- Overrides:
POP in class PrimitiveType