soot.jimple.internal
Class AbstractNewExpr

java.lang.Object
  extended by soot.jimple.internal.AbstractNewExpr
All Implemented Interfaces:
Serializable, EquivTo, AnyNewExpr, Expr, NewExpr, Switchable, Value
Direct Known Subclasses:
JNewExpr

public abstract class AbstractNewExpr
extends Object
implements NewExpr

See Also:
Serialized Form

Constructor Summary
AbstractNewExpr()
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
abstract  Object clone()
          Returns a clone of this Value.
 int equivHashCode()
          Returns a hash code for this object, consistent with structural equality.
 boolean equivTo(Object o)
          Returns true if this object is equivalent to o.
 RefType getBaseType()
           
 Type getType()
          Returns the Soot type of this Value.
 List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 void setBaseType(RefType type)
           
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractNewExpr

public AbstractNewExpr()
Method Detail

equivTo

public boolean equivTo(Object o)
Description copied from interface: EquivTo
Returns true if this object is equivalent to o.

Specified by:
equivTo in interface EquivTo

equivHashCode

public int equivHashCode()
Returns a hash code for this object, consistent with structural equality.

Specified by:
equivHashCode in interface EquivTo

clone

public abstract Object clone()
Description copied from interface: Value
Returns a clone of this Value.

Specified by:
clone in interface Value
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object

toString

public void toString(UnitPrinter up)
Specified by:
toString in interface Value

getBaseType

public RefType getBaseType()
Specified by:
getBaseType in interface NewExpr

setBaseType

public void setBaseType(RefType type)
Specified by:
setBaseType in interface NewExpr

getType

public Type getType()
Description copied from interface: Value
Returns the Soot type of this Value.

Specified by:
getType in interface NewExpr
Specified by:
getType in interface Value

getUseBoxes

public List getUseBoxes()
Description copied from interface: Value
Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.

Specified by:
getUseBoxes in interface Value

apply

public void apply(Switch sw)
Description copied from interface: Switchable
Called when this object is visited.

Specified by:
apply in interface NewExpr
Specified by:
apply in interface Switchable