Package soot
Class VoidType
- java.lang.Object
-
- soot.Type
-
- soot.VoidType
-
- All Implemented Interfaces:
Serializable,Numberable,Switchable
public class VoidType extends Type
Represents the Java void type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VoidType(Singletons.Global g)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Method required for use of Switchable.booleanequals(Object t)inthashCode()booleanisAllowedInFinalCode()Returnstrueif this type is allowed to appear in final (clean) Jimple code.StringtoString()Returns a textual representation of this type.static VoidTypev()-
Methods inherited from class soot.Type
getArrayType, getDefaultFinalType, getEscapedName, getNumber, makeArrayType, merge, setArrayType, setNumber, toMachineType, toQuotedString
-
-
-
-
Constructor Detail
-
VoidType
public VoidType(Singletons.Global g)
-
-
Method Detail
-
v
public static VoidType v()
-
toString
public String toString()
Description copied from class:TypeReturns a textual representation of this type.
-
apply
public void apply(Switch sw)
Description copied from class:TypeMethod required for use of Switchable.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin classType
-
isAllowedInFinalCode
public boolean isAllowedInFinalCode()
Description copied from class:TypeReturnstrueif this type is allowed to appear in final (clean) Jimple code.- Overrides:
isAllowedInFinalCodein classType- Returns:
-
-