@Override
  public String toString() {
    return MoreObjects.toStringHelper(this).add("name", name).add("description", description)
      .toString();
  }
Making implementing metric info a little easier
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/metrics/MetricsInfoImpl.java