soot.jimple.internal
Class AbstractInstanceOfExpr

java.lang.Object
  extended by soot.jimple.internal.AbstractInstanceOfExpr
All Implemented Interfaces:
Serializable, EquivTo, Expr, InstanceOfExpr, Switchable, Value
Direct Known Subclasses:
GInstanceOfExpr, JInstanceOfExpr

public abstract class AbstractInstanceOfExpr
extends Object
implements InstanceOfExpr

See Also:
Serialized Form

Constructor Summary
protected AbstractInstanceOfExpr(ValueBox opBox, Type checkType)
           
 
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.
 Type getCheckType()
           
 Value getOp()
           
 ValueBox getOpBox()
           
 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 setCheckType(Type checkType)
           
 void setOp(Value op)
           
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractInstanceOfExpr

protected AbstractInstanceOfExpr(ValueBox opBox,
                                 Type checkType)
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

getOp

public Value getOp()
Specified by:
getOp in interface InstanceOfExpr

setOp

public void setOp(Value op)
Specified by:
setOp in interface InstanceOfExpr

getOpBox

public ValueBox getOpBox()
Specified by:
getOpBox in interface InstanceOfExpr

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

getType

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

Specified by:
getType in interface InstanceOfExpr
Specified by:
getType in interface Value

getCheckType

public Type getCheckType()
Specified by:
getCheckType in interface InstanceOfExpr

setCheckType

public void setCheckType(Type checkType)
Specified by:
setCheckType in interface InstanceOfExpr

apply

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

Specified by:
apply in interface InstanceOfExpr
Specified by:
apply in interface Switchable