Package soot.jimple.toolkits.typing.fast
Class TypeUtils
- java.lang.Object
-
- soot.jimple.toolkits.typing.fast.TypeUtils
-
public class TypeUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description TypeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetValueBitSize(Type type)Returns the bit size of a given primitive type.
-
-
-
Method Detail
-
getValueBitSize
public static int getValueBitSize(Type type)
Returns the bit size of a given primitive type. Note that it returns 1 for boolean albeit not being possible on a real machine.- Parameters:
type-- Returns:
- the size
-
-