soot
Class UnknownType

java.lang.Object
  extended by soot.Type
      extended by soot.UnknownType
All Implemented Interfaces:
Serializable, Numberable, Switchable

public class UnknownType
extends Type

Soot representation used for not-yet-typed objects. Implemented as a singleton.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.Type
arrayType
 
Constructor Summary
UnknownType(Singletons.Global g)
           
 
Method Summary
 void apply(Switch sw)
          Method required for use of Switchable.
 boolean equals(Object t)
           
 int hashCode()
           
 Type merge(Type other, Scene cm)
          Returns the least common superclass of this type and other.
 String toString()
          Returns a textual representation of this type.
static UnknownType v()
           
 
Methods inherited from class soot.Type
getArrayType, getNumber, makeArrayType, setArrayType, setNumber, toMachineType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnknownType

public UnknownType(Singletons.Global g)
Method Detail

v

public static UnknownType v()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object t)
Overrides:
equals in class Object

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

merge

public Type merge(Type other,
                  Scene cm)
Returns the least common superclass of this type and other.

Overrides:
merge in class Type