@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    SimpleRefType type = (SimpleRefType)o;
    return myIsBranch == type.myIsBranch && Objects.equals(myName, type.myName);
  }
@Override
  public boolean equals(Object o)