soot
Class NullType

java.lang.Object
  |
  +--soot.Type
        |
        +--soot.NullType
All Implemented Interfaces:
RefLikeType, java.io.Serializable, Switchable, ToBriefString

public class NullType
extends Type
implements RefLikeType

Soot representation of the Java type 'null'. Implemented as a singleton.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.Type
typeNum
 
Method Summary
 void apply(Switch sw)
          Method required for use of Switchable.
 boolean equals(java.lang.Object t)
           
 Type getArrayElementType()
           
 int hashCode()
           
 java.lang.String toString()
          Returns a textual representation of this type.
static NullType v()
           
 
Methods inherited from class soot.Type
merge, toBriefString, toMachineType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

v

public static NullType v()
Returns:
this class's singleton object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object t)
Overrides:
equals in class java.lang.Object

toString

public java.lang.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()
Specified by:
getArrayElementType in interface RefLikeType