public static String convertForStoring(ClassAndMethods cam) {
    StringBuilder sb = new StringBuilder(150);
    sb.append(cam.dclass.fullyQualifiedName());
    List<CompiledMethod> methods = new ArrayList<>(cam.methods.values());
    Collections.sort(methods);
    sb.append(',').append(methods.size()).append("\n");
    for (CompiledMethod method : methods) {
      CompiledCode c = method.getCode();
      if (c != null) {
        sb.append(method.name()).append(',').append(c.code.length).append("\n");
      }
    }
    return sb.toString();
  }
A class used to store the names of data-serializable classes and the sizes of their
toData/fromData methods.
geode-junit/src/main/java/org/apache/geode/codeAnalysis/ClassAndMethodDetails.java