Package soot
Class AnySubType
- java.lang.Object
-
- soot.Type
-
- soot.RefLikeType
-
- soot.AnySubType
-
- All Implemented Interfaces:
Serializable,Numberable,Switchable
public class AnySubType extends RefLikeType
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Method required for use of Switchable.TypegetArrayElementType()If I have a variable x of declared type t, what is a good declared type for the expression ((Object[]) x)[i]? The getArrayElementType() method in RefLikeType was introduced even later to answer this question for all classes implementing RefLikeType.RefTypegetBase()voidsetBase(RefType base)StringtoString()Returns a textual representation of this type.static AnySubTypev(RefType base)-
Methods inherited from class soot.Type
getArrayType, getDefaultFinalType, getEscapedName, getNumber, isAllowedInFinalCode, makeArrayType, merge, setArrayType, setNumber, toMachineType, toQuotedString
-
-
-
-
Method Detail
-
v
public static AnySubType v(RefType base)
-
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
-
getArrayElementType
public Type getArrayElementType()
Description copied from class:RefLikeTypeIf I have a variable x of declared type t, what is a good declared type for the expression ((Object[]) x)[i]? The getArrayElementType() method in RefLikeType was introduced even later to answer this question for all classes implementing RefLikeType. If t is an array, then the answer is the same as getElementType(). But t could also be Object, Serializable, or Cloneable, which can all hold any array, so then the answer is Object.- Specified by:
getArrayElementTypein classRefLikeType
-
getBase
public RefType getBase()
-
setBase
public void setBase(RefType base)
-
-