soot
Class IntType

java.lang.Object
  extended bysoot.Type
      extended bysoot.PrimType
          extended bysoot.IntType
All Implemented Interfaces:
IntegerType, Numberable, Serializable, Switchable

public class IntType
extends PrimType
implements IntegerType

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.Type
arrayType
 
Constructor Summary
IntType(soot.Singletons.Global g)
           
 
Method Summary
 void apply(Switch sw)
          Method required for use of Switchable.
 boolean equals(Object t)
          Returns true if the given object is equal to this one.
 int hashCode()
           
 String toString()
          Returns a textual representation of this type.
static IntType v()
           
 
Methods inherited from class soot.Type
getArrayType, getNumber, makeArrayType, merge, setArrayType, setNumber, toMachineType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntType

public IntType(soot.Singletons.Global g)
Method Detail

v

public static IntType v()

equals

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


hashCode

public int hashCode()

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