public Class<?> defineClass(InMemoryClassFile classFile) {
    String name = classFile.getName();
    byte[] bytes = classFile.getByteContent();
    return defineClass(name, bytes, 0, bytes.length);
  }
Loads classes described by in-memory class files.
geode-junit/src/main/java/org/apache/geode/test/compiler/InMemoryClassFileLoader.java