soot.jimple.internal
Class AbstractBinopExpr

java.lang.Object
  |
  +--soot.jimple.internal.AbstractBinopExpr
Direct Known Subclasses:
AbstractFloatBinopExpr, AbstractIntBinopExpr, AbstractIntLongBinopExpr, AbstractJimpleBinopExpr

public abstract class AbstractBinopExpr
extends java.lang.Object
implements Expr

See Also:
Serialized Form

Field Summary
protected  ValueBox op1Box
           
protected  ValueBox op2Box
           
 
Constructor Summary
AbstractBinopExpr()
           
 
Method Summary
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.
 Value getOp1()
           
 ValueBox getOp1Box()
           
 Value getOp2()
           
 ValueBox getOp2Box()
           
protected abstract  java.lang.String getSymbol()
          Returns the unique symbol for an operator.
 java.util.List getUseBoxes()
          Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.
 void setOp1(Value op1)
           
 void setOp2(Value op2)
           
 java.lang.String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

op1Box

protected ValueBox op1Box

op2Box

protected ValueBox op2Box
Constructor Detail

AbstractBinopExpr

public AbstractBinopExpr()
Method Detail

getOp1

public Value getOp1()

getOp2

public Value getOp2()

getOp1Box

public ValueBox getOp1Box()

getOp2Box

public ValueBox getOp2Box()

setOp1

public void setOp1(Value op1)

setOp2

public void setOp2(Value op2)

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.

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.

getSymbol

protected abstract java.lang.String getSymbol()
Returns the unique symbol for an operator.

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)