changes.
[IRC.git] / Robust / src / Analysis / SSJava / SSJavaType.java
1 package Analysis.SSJava;
2
3 import IR.TypeExtension;
4
5 public class SSJavaType implements TypeExtension {
6
7   private boolean isOwned;
8   private CompositeLocation compLoc;
9
10   public SSJavaType(CompositeLocation compLoc) {
11     this.isOwned = false;
12     this.compLoc = compLoc;
13   }
14
15   public SSJavaType(boolean isOwned) {
16     this.isOwned = isOwned;
17   }
18
19   public CompositeLocation getCompLoc() {
20     return compLoc;
21   }
22
23   public void setCompLoc(CompositeLocation compLoc) {
24     this.compLoc = compLoc;
25   }
26
27   public boolean isOwned() {
28     return isOwned;
29   }
30
31   public void setOwned(boolean isOwned) {
32     this.isOwned = isOwned;
33   }
34
35   public String toString() {
36     return compLoc + "::owned=" + isOwned;
37   }
38
39 }