Package soot

Class AnySubType

    • Method Detail

      • toString

        public String toString()
        Description copied from class: Type
        Returns a textual representation of this type.
        Specified by:
        toString in class Type
      • apply

        public void apply​(Switch sw)
        Description copied from class: Type
        Method required for use of Switchable.
        Specified by:
        apply in interface Switchable
        Overrides:
        apply in class Type
      • getArrayElementType

        public Type getArrayElementType()
        Description copied from class: RefLikeType
        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. 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:
        getArrayElementType in class RefLikeType
      • getBase

        public RefType getBase()
      • setBase

        public void setBase​(RefType base)