package edu.uci.eecs.specCompiler.specExtraction;
+import java.io.File;
+
public class PotentialCPDefineConstruct extends Construct {
+ public final String label;
+ public final String condition;
+
+ public PotentialCPDefineConstruct(File file, int beginLineNum,
+ String label, String condition) {
+ super(file, beginLineNum);
+ this.label = label;
+ this.condition = condition;
+ }
+ public String toString() {
+ StringBuffer res = new StringBuffer();
+ res.append("@Potential_commit_point_define:\n");
+ res.append("Label: " + label + "\n");
+ res.append("Condition: " + condition + "\n");
+ return res.toString();
+ }
}