@Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj instanceof GrClassReferenceType) {
      if (myReferenceElement.equals(((GrClassReferenceType)obj).myReferenceElement)) {
        return true;
      }
    }
    return super.equals(obj);
  }
@Override
  public boolean equals(Object obj)