@Override
  public int hashCode() {
    return Objects.hashCode(name, description);
  }
Making implementing metric info a little easier
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/metrics/MetricsInfoImpl.java