soot.jimple.internal
Class AbstractNewExpr

java.lang.Object
  |
  +--soot.jimple.internal.AbstractNewExpr
Direct Known Subclasses:
JNewExpr

public abstract class AbstractNewExpr
extends java.lang.Object
implements NewExpr

See Also:
Serialized Form

Constructor Summary
AbstractNewExpr()
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
abstract  java.lang.Object clone()
          Returns a clone of this Value.
 int equivHashCode()
          Returns a hash code for this object, consistent with structural equality.
 boolean equivTo(java.lang.Object o)
          Returns true if this object is equivalent to o.
 RefType getBaseType()
           
 Type getType()
          Returns the Soot type of this Value.
 java.util.List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 void setBaseType(RefType type)
           
 java.lang.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(java.lang.Object o)
Description copied from interface: EquivTo
Returns true if this object is equivalent to o.

equivHashCode

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

clone

public abstract java.lang.Object clone()
Description copied from interface: Value
Returns a clone of this Value.
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public void toString(UnitPrinter up)

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

getUseBoxes

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

apply

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