public class Region extends Object implements IRegion
| Constructor and Description |
|---|
Region(int id,
List<Block> blocks,
SootMethod m,
SootClass c,
UnitGraph ug) |
Region(int id,
SootMethod m,
SootClass c,
UnitGraph ug) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Block b) |
void |
add2Back(Block b) |
void |
addChildRegion(IRegion chr) |
Object |
clone() |
List<Block> |
getBlocks() |
List<IRegion> |
getChildRegions() |
Unit |
getFirst() |
int |
getID() |
Unit |
getLast() |
IRegion |
getParent() |
SootClass |
getSootClass() |
SootMethod |
getSootMethod() |
UnitGraph |
getUnitGraph() |
List<Unit> |
getUnits() |
List<Unit> |
getUnits(Unit from,
Unit to) |
boolean |
occursBefore(Unit u1,
Unit u2) |
void |
remove(Block b) |
void |
setParent(IRegion pr) |
String |
toString() |
public Region(int id,
SootMethod m,
SootClass c,
UnitGraph ug)
public Region(int id,
List<Block> blocks,
SootMethod m,
SootClass c,
UnitGraph ug)
public SootMethod getSootMethod()
getSootMethod in interface IRegionpublic SootClass getSootClass()
getSootClass in interface IRegionpublic UnitGraph getUnitGraph()
getUnitGraph in interface IRegionpublic void add(Block b)
public void add2Back(Block b)
public void remove(Block b)
public boolean occursBefore(Unit u1, Unit u2)
occursBefore in interface IRegionpublic void addChildRegion(IRegion chr)
addChildRegion in interface IRegionpublic List<IRegion> getChildRegions()
getChildRegions in interface IRegionCopyright © 2020 Soot OSS. All rights reserved.