public static StatisticInfoImpl create(String toString, StatisticsFactory f) {
    int startBrack = toString.indexOf("[");
    int endBrack = toString.indexOf("]");

    if (startBrack == -1 || endBrack == -1) {
      return null;
    }

    String name = toString.substring(0, startBrack).trim();
    String ids = toString.substring(startBrack + 1, endBrack).trim();

    StatisticsType type = f.findType(name);
    if (type == null) {
      return null;
    }

    Statistics[] stats = f.findStatisticsByType(type);
    if (stats.length == 0) {
      return null;
    }

    StatisticDescriptor[] descs = type.getStatistics();
    for (final StatisticDescriptor desc : descs) {
      if (desc.getName().equalsIgnoreCase(ids)) {
        return new StatisticInfoImpl(stats[0], desc);
      }
    }

    return null;
  }
Implemetation of {@link StatisticInfo}, provides all the information {@link Statistic}
geode-core/src/main/java/org/apache/geode/internal/admin/statalerts/StatisticInfoImpl.java