Package soot
Class DecimalType
- java.lang.Object
-
- soot.Type
-
- soot.PrimType
-
- soot.DecimalType
-
- All Implemented Interfaces:
Serializable
,DotNetINumber
,Numberable
,Switchable
public class DecimalType extends PrimType implements DotNetINumber
Soot representation of the .NET built-in type 'decimal'. Implemented as a singleton.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecimalType(Singletons.Global g)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Switch sw)
Method required for use of Switchable.boolean
equals(Object t)
Class<?>
getJavaBoxedType()
Class<?>
getJavaPrimitiveType()
String
getTypeAsString()
int
hashCode()
String
toString()
Returns a textual representation of this type.static DecimalType
v()
-
Methods inherited from class soot.PrimType
boxedType, isAllowedInFinalCode
-
Methods inherited from class soot.Type
getArrayType, getDefaultFinalType, getEscapedName, getNumber, makeArrayType, merge, setArrayType, setNumber, toMachineType, toQuotedString
-
-
-
-
Field Detail
-
HASHCODE
public static final int HASHCODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DecimalType
public DecimalType(Singletons.Global g)
-
-
Method Detail
-
v
public static DecimalType v()
-
toString
public String toString()
Description copied from class:Type
Returns a textual representation of this type.
-
apply
public void apply(Switch sw)
Description copied from class:Type
Method required for use of Switchable.- Specified by:
apply
in interfaceSwitchable
- Overrides:
apply
in classType
-
getTypeAsString
public String getTypeAsString()
- Specified by:
getTypeAsString
in classPrimType
-
getJavaBoxedType
public Class<?> getJavaBoxedType()
- Specified by:
getJavaBoxedType
in classPrimType
-
getJavaPrimitiveType
public Class<?> getJavaPrimitiveType()
- Specified by:
getJavaPrimitiveType
in classPrimType
-
-