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
All Implemented Interfaces:
AssignStmt, ConvertToBaf, DefinitionStmt, Host, Stmt, Switchable, Unit
Direct Known Subclasses:
GAssignStmt

public class JAssignStmt
extends AbstractDefinitionStmt
implements AssignStmt


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)
           
 Value getArrayRef()
           
 ValueBox getArrayRefBox()
           
 Value getFieldRef()
           
 ValueBox getFieldRefBox()
           
 Value getInvokeExpr()
           
 ValueBox getInvokeExprBox()
           
 void setLeftOp(Value variable)
           
 void setRightOp(Value rvalue)
           
protected  java.lang.String toString(boolean isBrief, java.util.Map stmtToName, java.lang.String indentation)
          Returns a textual representation of this object, with the given briefness, Map and indentation.
 
Methods inherited from class soot.jimple.internal.AbstractDefinitionStmt
branches, fallsThrough, getDefBoxes, getLeftOp, getLeftOpBox, getRightOp, getRightOpBox, getUseBoxes
 
Methods inherited from class soot.AbstractUnit
getBoxesPointingToThis, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString, toString
 
Methods inherited from class soot.tagkit.AbstractHost
addTag, getTag, getTags, hasTag, removeTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface soot.jimple.DefinitionStmt
getLeftOp, getLeftOpBox, getRightOp, getRightOpBox
 
Methods inherited from interface soot.jimple.Stmt
toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString, toString
 
Methods inherited from interface soot.Unit
branches, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo
 
Methods inherited from interface soot.tagkit.Host
addTag, getTag, getTags, hasTag, removeTag
 

Constructor Detail

JAssignStmt

public JAssignStmt(Value variable,
                   Value rvalue)

JAssignStmt

protected JAssignStmt(ValueBox variableBox,
                      ValueBox rvalueBox)
Method Detail

containsInvokeExpr

public boolean containsInvokeExpr()
Specified by:
containsInvokeExpr in interface Stmt
Overrides:
containsInvokeExpr in class AbstractStmt

getInvokeExpr

public Value getInvokeExpr()
Specified by:
getInvokeExpr in interface Stmt
Overrides:
getInvokeExpr in class AbstractStmt

getInvokeExprBox

public ValueBox getInvokeExprBox()
Specified by:
getInvokeExprBox in interface Stmt
Overrides:
getInvokeExprBox in class AbstractStmt

containsArrayRef

public boolean containsArrayRef()
Specified by:
containsArrayRef in interface Stmt
Overrides:
containsArrayRef in class AbstractStmt

getArrayRef

public Value getArrayRef()
Specified by:
getArrayRef in interface Stmt
Overrides:
getArrayRef in class AbstractStmt

getArrayRefBox

public ValueBox getArrayRefBox()
Specified by:
getArrayRefBox in interface Stmt
Overrides:
getArrayRefBox in class AbstractStmt

containsFieldRef

public boolean containsFieldRef()
Specified by:
containsFieldRef in interface Stmt
Overrides:
containsFieldRef in class AbstractStmt

getFieldRef

public Value getFieldRef()
Specified by:
getFieldRef in interface Stmt
Overrides:
getFieldRef in class AbstractStmt

getFieldRefBox

public ValueBox getFieldRefBox()
Specified by:
getFieldRefBox in interface Stmt
Overrides:
getFieldRefBox in class AbstractStmt

toString

protected java.lang.String toString(boolean isBrief,
                                    java.util.Map stmtToName,
                                    java.lang.String indentation)
Description copied from class: AbstractUnit
Returns a textual representation of this object, with the given briefness, Map and indentation.
Overrides:
toString in class AbstractUnit

clone

public java.lang.Object clone()
Description copied from class: AbstractUnit
Returns a deep clone of this object.
Specified by:
clone in interface Unit
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.
Specified by:
apply in interface Switchable
Overrides:
apply in class AbstractUnit

convertToBaf

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