@Override
  public JavaFileObject getJavaFileForOutput(Location location, String className, Kind kind,
      FileObject sibling) {
    InMemoryClassFile file = new InMemoryClassFile(className);
    compiledClassFiles.add(file);
    return file;
  }
In-memory file manager used by an {@link InMemoryJavaCompiler}.
geode-junit/src/main/java/org/apache/geode/test/compiler/InMemoryFileManager.java