01: package soot.jimple.toolkits.thread.mhp.stmt;
02:
03: import soot.*;
04: import soot.toolkits.graph.*;
05:
06: // *** USE AT YOUR OWN RISK ***
07: // May Happen in Parallel (MHP) analysis by Lin Li.
08: // This code should be treated as beta-quality code.
09: // It was written in 2003, but not incorporated into Soot until 2006.
10: // As such, it may contain incorrect assumptions about the usage
11: // of certain Soot classes.
12: // Some portions of this MHP analysis have been quality-checked, and are
13: // now used by the Transactions toolkit.
14: //
15: // -Richard L. Halpert, 2006-11-30
16:
17: public class MonitorEntryStmt extends JPegStmt
18:
19: {
20:
21: public MonitorEntryStmt(String obj, String ca, Unit un,
22: UnitGraph ug, SootMethod sm) {
23: this .object = obj;
24: this .name = "entry";
25: this .caller = ca;
26: this .unit = un;
27: this .unitGraph = ug;
28: }
29:
30: public MonitorEntryStmt(String obj, String ca, UnitGraph ug,
31: SootMethod sm) {
32: this .object = obj;
33: this .name = "entry";
34: this.caller = ca;
35: this.unitGraph = ug;
36: this.sootMethod = sm;
37: }
38:
39: }
|