soot
Class IntType

java.lang.Object
  |
  +--soot.Type
        |
        +--soot.BaseType
              |
              +--soot.IntType
All Implemented Interfaces:
IntegerType, Switchable, ToBriefString

public class IntType
extends BaseType
implements IntegerType

Soot representation of the Java built-in type 'int'. Implemented as a singleton.


Method Summary
 void apply(Switch sw)
          Method required for use of Switchable.
 boolean equals(java.lang.Object t)
          Returns true if the given object is equal to this one.
 int hashCode()
           
 java.lang.String toString()
          Returns a textual representation of this type.
static IntType v()
          Returns this class's singleton object
 
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 IntType v()
Returns this class's singleton object

equals

public boolean equals(java.lang.Object t)
Returns true if the given object is equal to this one. Since IntType is a singleton, object equality is fine.
Overrides:
equals in class java.lang.Object

hashCode

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

toString

public java.lang.String toString()
Description copied from class: Type
Returns a textual representation of this type.
Overrides:
toString in class BaseType
Following copied from class: soot.BaseType
Returns:
the base type's name as a string

apply

public void apply(Switch sw)
Description copied from class: Type
Method required for use of Switchable.
Overrides:
apply in class Type