soot.jimple.internal
Class JAssignStmt

java.lang.Object
  |
  +--soot.tagkit.AbstractHost
        |
        +--soot.AbstractUnit
              |
              +--soot.jimple.internal.AbstractStmt
                    |
                    +--soot.jimple.internal.AbstractDefinitionStmt
                          |
                          +--soot.jimple.internal.JAssignStmt
Direct Known Subclasses:
GAssignStmt

public class JAssignStmt
extends AbstractDefinitionStmt
implements AssignStmt

See Also:
Serialized Form

Fields inherited from class soot.AbstractUnit
emptyList
 
Constructor Summary
protected JAssignStmt(ValueBox variableBox, ValueBox rvalueBox)
           
  JAssignStmt(Value variable, Value rvalue)
           
 
Method Summary
 void apply(Switch sw)
          Called when this object is visited.
 java.lang.Object clone()
          Returns a deep clone of this object.
 boolean containsArrayRef()
           
 boolean containsFieldRef()
           
 boolean containsInvokeExpr()
           
 void convertToBaf(JimpleToBafContext context, java.util.List out)
           
 ArrayRef getArrayRef()
           
 ValueBox getArrayRefBox()
           
 FieldRef getFieldRef()
           
 ValueBox getFieldRefBox()
           
 InvokeExpr getInvokeExpr()
           
 ValueBox getInvokeExprBox()
           
 java.util.List getUnitBoxes()
          Returns a list of Boxes containing Units defined in this Unit; typically branch targets.
 void setLeftOp(Value variable)
           
 void setRightOp(Value rvalue)
           
 java.lang.String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.jimple.internal.AbstractDefinitionStmt
branches, fallsThrough, getDefBoxes, getLeftOp, getLeftOpBox, getRightOp, getRightOpBox, getUseBoxes
 
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
 
Methods inherited from class soot.tagkit.AbstractHost
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAssignStmt

public JAssignStmt(Value variable,
                   Value rvalue)

JAssignStmt

protected JAssignStmt(ValueBox variableBox,
                      ValueBox rvalueBox)
Method Detail

containsInvokeExpr

public boolean containsInvokeExpr()
Overrides:
containsInvokeExpr in class AbstractStmt

getInvokeExpr

public InvokeExpr getInvokeExpr()
Overrides:
getInvokeExpr in class AbstractStmt

getInvokeExprBox

public ValueBox getInvokeExprBox()
Overrides:
getInvokeExprBox in class AbstractStmt

containsArrayRef

public boolean containsArrayRef()
Overrides:
containsArrayRef in class AbstractStmt

getArrayRef

public ArrayRef getArrayRef()
Overrides:
getArrayRef in class AbstractStmt

getArrayRefBox

public ValueBox getArrayRefBox()
Overrides:
getArrayRefBox in class AbstractStmt

containsFieldRef

public boolean containsFieldRef()
Overrides:
containsFieldRef in class AbstractStmt

getFieldRef

public FieldRef getFieldRef()
Overrides:
getFieldRef in class AbstractStmt

getFieldRefBox

public ValueBox getFieldRefBox()
Overrides:
getFieldRefBox in class AbstractStmt

getUnitBoxes

public java.util.List getUnitBoxes()
Description copied from interface: Unit
Returns a list of Boxes containing Units defined in this Unit; typically branch targets.
Overrides:
getUnitBoxes in class AbstractUnit

toString

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

toString

public void toString(UnitPrinter up)

clone

public java.lang.Object clone()
Description copied from class: AbstractUnit
Returns a deep clone of this object.
Overrides:
clone in class AbstractUnit

setLeftOp

public void setLeftOp(Value variable)
Specified by:
setLeftOp in interface AssignStmt

setRightOp

public void setRightOp(Value rvalue)
Specified by:
setRightOp in interface AssignStmt

apply

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

convertToBaf

public void convertToBaf(JimpleToBafContext context,
                         java.util.List out)
Overrides:
convertToBaf in class AbstractStmt