Package com.tonic.analysis.ssa.type
Class VoidType
- java.lang.Object
-
- com.tonic.analysis.ssa.type.VoidType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescriptor()intgetSize()booleanisArray()booleanisPrimitive()booleanisReference()booleanisTwoSlot()booleanisVoid()StringtoString()
-
-
-
Field Detail
-
INSTANCE
public static final VoidType INSTANCE
-
-
Method Detail
-
getDescriptor
public String getDescriptor()
- Specified by:
getDescriptorin interfaceIRType- Returns:
- the JVM type descriptor for this type
-
getSize
public int getSize()
-
isReference
public boolean isReference()
- Specified by:
isReferencein interfaceIRType- Returns:
- true for object and array types
-
isPrimitive
public boolean isPrimitive()
- Specified by:
isPrimitivein interfaceIRType- Returns:
- true for the eight primitive types
-
isVoid
public boolean isVoid()
-
isArray
public boolean isArray()
-
isTwoSlot
public boolean isTwoSlot()
-
-