public class Region extends java.lang.Object implements IRegion
| Constructor and Description |
|---|
Region(int id,
java.util.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) |
java.lang.Object |
clone() |
java.util.List<Block> |
getBlocks() |
java.util.List<IRegion> |
getChildRegions() |
Unit |
getFirst() |
int |
getID() |
Unit |
getLast() |
IRegion |
getParent() |
SootClass |
getSootClass() |
SootMethod |
getSootMethod() |
UnitGraph |
getUnitGraph() |
java.util.List<Unit> |
getUnits() |
java.util.List<Unit> |
getUnits(Unit from,
Unit to) |
boolean |
occursBefore(Unit u1,
Unit u2) |
void |
remove(Block b) |
void |
setParent(IRegion pr) |
java.lang.String |
toString() |
public Region(int id,
SootMethod m,
SootClass c,
UnitGraph ug)
public Region(int id,
java.util.List<Block> blocks,
SootMethod m,
SootClass c,
UnitGraph ug)
public java.lang.Object clone()
clone in class java.lang.Objectpublic 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 java.util.List<IRegion> getChildRegions()
getChildRegions in interface IRegionpublic java.lang.String toString()
toString in class java.lang.Object