Package soot.jimple.toolkits.typing.fast
Class Integer1Type
- java.lang.Object
-
- soot.Type
-
- soot.PrimType
-
- soot.jimple.toolkits.typing.fast.Integer1Type
-
- All Implemented Interfaces:
Serializable,IntegerType,Numberable,Switchable
public class Integer1Type extends PrimType implements IntegerType
- Author:
- Ben Bellamy
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Integer1Type(Singletons.Global g)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object t)TypegetDefaultFinalType()If this type is not allowed in final code, this method provides a replacement type that is allowed in final codeClass<?>getJavaBoxedType()Class<?>getJavaPrimitiveType()StringgetTypeAsString()booleanisAllowedInFinalCode()Returnstrueif this type is allowed to appear in final (clean) Jimple code.StringtoString()Returns a textual representation of this type.static Integer1Typev()-
Methods inherited from class soot.Type
apply, getArrayType, getEscapedName, getNumber, makeArrayType, merge, setArrayType, setNumber, toMachineType, toQuotedString
-
-
-
-
Constructor Detail
-
Integer1Type
public Integer1Type(Singletons.Global g)
-
-
Method Detail
-
v
public static Integer1Type v()
-
toString
public String toString()
Description copied from class:TypeReturns a textual representation of this type.
-
isAllowedInFinalCode
public boolean isAllowedInFinalCode()
Description copied from class:TypeReturnstrueif this type is allowed to appear in final (clean) Jimple code.- Overrides:
isAllowedInFinalCodein classPrimType- Returns:
-
getTypeAsString
public String getTypeAsString()
- Specified by:
getTypeAsStringin classPrimType
-
getDefaultFinalType
public Type getDefaultFinalType()
Description copied from class:TypeIf this type is not allowed in final code, this method provides a replacement type that is allowed in final code- Overrides:
getDefaultFinalTypein classType- Returns:
- The replacement type
-
getJavaBoxedType
public Class<?> getJavaBoxedType()
- Specified by:
getJavaBoxedTypein classPrimType
-
getJavaPrimitiveType
public Class<?> getJavaPrimitiveType()
- Specified by:
getJavaPrimitiveTypein classPrimType
-
-