-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathGhostState.java
More file actions
38 lines (29 loc) · 889 Bytes
/
GhostState.java
File metadata and controls
38 lines (29 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package liquidjava.processor.context;
import java.util.List;
import liquidjava.rj_language.Predicate;
import spoon.reflect.reference.CtTypeReference;
public class GhostState extends GhostFunction {
private GhostFunction parent;
private Predicate refinement;
private final String file;
public GhostState(String name, List<CtTypeReference<?>> list, CtTypeReference<?> returnType, String prefix,
String file) {
super(name, list, returnType, prefix);
this.file = file;
}
public void setGhostParent(GhostFunction parent) {
this.parent = parent;
}
public void setRefinement(Predicate c) {
refinement = c;
}
public GhostFunction getParent() {
return parent;
}
public Predicate getRefinement() {
return refinement;
}
public String getFile() {
return file;
}
}