soot.jimple.internal
Class AbstractBinopExpr

java.lang.Object
  |
  +--soot.jimple.internal.AbstractBinopExpr
All Implemented Interfaces:
EquivTo, Expr, Switchable, ToBriefString, Value
Direct Known Subclasses:
AbstractFloatBinopExpr, AbstractIntBinopExpr, AbstractIntLongBinopExpr, AbstractJimpleBinopExpr

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


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 toBriefString()
          Returns a brief description of this object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface soot.Value
getType
 
Methods inherited from interface soot.util.Switchable
apply
 

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.
Specified by:
getUseBoxes in interface Value

equivTo

public boolean equivTo(java.lang.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

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.
Specified by:
clone in interface Value
Overrides:
clone in class java.lang.Object

toString

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

toBriefString

public java.lang.String toBriefString()
Description copied from interface: ToBriefString
Returns a brief description of this object.
Specified by:
toBriefString in interface ToBriefString