public static String getTypeCodeName(int code) {
    switch (code) {
      case LONG:
        return "long";
      case DOUBLE:
        return "double";
      default:
        throw new IllegalArgumentException(
            String.format("Unknown type code: %s",
                code));
    }
  }
Returns the name of the given type code

@throws IllegalArgumentException <code>code</code> is an unknown type
geode-core/src/main/java/org/apache/geode/internal/statistics/StatisticDescriptorImpl.java