@Override
  public boolean equals(Object obj) {
    if (!(obj instanceof JvmField)) {
      return false;
    }
    JvmField other = (JvmField)obj;
    return isSame(other) && Objects.equals(getType(), other.getType());
  }
@Override
  public boolean equals(Object obj)