soot.dava.internal.AST
Class ASTSwitchNode

java.lang.Object
  extended bysoot.tagkit.AbstractHost
      extended bysoot.AbstractUnit
          extended bysoot.dava.internal.AST.ASTNode
              extended bysoot.dava.internal.AST.ASTLabeledNode
                  extended bysoot.dava.internal.AST.ASTSwitchNode
All Implemented Interfaces:
Context, Host, Serializable, Switchable, Unit

public class ASTSwitchNode
extends ASTLabeledNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class soot.dava.internal.AST.ASTNode
NEWLINE, subBodies, TAB
 
Fields inherited from class soot.AbstractUnit
emptyList
 
Constructor Summary
ASTSwitchNode(SETNodeLabel label, Value key, List indexList, Map index2BodyList)
           
 
Method Summary
 void apply(Analysis a)
           
 Object clone()
          Returns a deep clone of this object.
 Value get_Key()
           
 Map getIndex2BodyList()
           
 List getIndexList()
           
 ValueBox getKeyBox()
           
 void perform_Analysis(ASTAnalysis a)
           
 void replaceIndex2BodyList(Map index2BodyList)
           
 void set_Key(Value key)
           
 String toString()
           
 void toString(UnitPrinter up)
           
 
Methods inherited from class soot.dava.internal.AST.ASTLabeledNode
get_Label, label_toString, label_toString, set_Label
 
Methods inherited from class soot.dava.internal.AST.ASTNode
body_toString, body_toString, branches, fallsThrough, get_SubBodies, perform_AnalysisOnSubBodies
 
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, 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
 
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getTag, getTags, hasTag, removeAllTags, removeTag
 

Constructor Detail

ASTSwitchNode

public ASTSwitchNode(SETNodeLabel label,
                     Value key,
                     List indexList,
                     Map index2BodyList)
Method Detail

getIndexList

public List getIndexList()

getIndex2BodyList

public Map getIndex2BodyList()

replaceIndex2BodyList

public void replaceIndex2BodyList(Map index2BodyList)

getKeyBox

public ValueBox getKeyBox()

get_Key

public Value get_Key()

set_Key

public void set_Key(Value key)

clone

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

Specified by:
clone in interface Unit
Specified by:
clone in class AbstractUnit

perform_Analysis

public void perform_Analysis(ASTAnalysis a)
Overrides:
perform_Analysis in class ASTLabeledNode

toString

public void toString(UnitPrinter up)
Specified by:
toString in interface Unit
Specified by:
toString in class ASTNode

toString

public String toString()

apply

public void apply(Analysis a)
Overrides:
apply in class ASTNode