code: private JavacEnvironment createEnvironment(String path, String source) throws IOException {
      List<JavaFileObject> inputFiles = new ArrayList<>();
      inputFiles.add(filterJavaFileObject(MemoryFileObject.createJavaFile(path, source)));
      return createEnvironment(Collections.emptyList(), inputFiles, false);
    }
docs: Creates a javac environment from a memory source.