3 import IR.TypeDescriptor;
5 public class SESEEffectsKey {
8 private TypeDescriptor td;
10 private String hrnUniqueId;
11 private boolean wStrong=false;
13 public SESEEffectsKey(String fd, TypeDescriptor td, Integer hrnId, String hrnUniqueId) {
17 this.hrnUniqueId=hrnUniqueId;
20 public void setStrong(boolean wStrong){
24 public boolean isStrong(){
28 public String getFieldDescriptor() {
32 public TypeDescriptor getTypeDescriptor() {
36 public Integer getHRNId() {
40 public String getHRNUniqueId(){
44 public String toString() {
45 return "(" + td + ")" + fd + "#" + hrnId+":"+hrnUniqueId;
48 public int hashCode() {
53 hash = hash * 31 + fd.hashCode();
57 hash += td.getSymbol().hashCode();
61 hash += hrnId.hashCode();
68 public boolean equals(Object o) {
74 if (!(o instanceof SESEEffectsKey)) {
78 SESEEffectsKey in = (SESEEffectsKey) o;
80 if (fd.equals(in.getFieldDescriptor())
81 && td.getSymbol().equals(in.getTypeDescriptor().getSymbol())
82 && hrnId.equals(in.getHRNId())) {