soot.jimple.toolkits.annotation.purity
Class PurityStmtNode

java.lang.Object
  extended by soot.jimple.toolkits.annotation.purity.PurityStmtNode
All Implemented Interfaces:
PurityNode

public class PurityStmtNode
extends Object
implements PurityNode

A node created dynamically and attached to a statement Stmt. Can be either an inside or a load node. Two such nodes are equal if and only if they have the same inside / load flag and are attached to the same statement (we use Stmt.equal here).


Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 boolean isInside()
          Is it an inside node ?
 boolean isLoad()
          Is it a load node ?
 boolean isParam()
          Is it a parameter or this node ?
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

isInside

public boolean isInside()
Description copied from interface: PurityNode
Is it an inside node ?

Specified by:
isInside in interface PurityNode

isLoad

public boolean isLoad()
Description copied from interface: PurityNode
Is it a load node ?

Specified by:
isLoad in interface PurityNode

isParam

public boolean isParam()
Description copied from interface: PurityNode
Is it a parameter or this node ?

Specified by:
isParam in interface PurityNode