ProcessingEnvironment (ProcessingEnvironment processingEnv) { ProcessingEnvironment wrapped = myWrappers.get(processingEnv); if (wrapped == null) { myWrappers.put(processingEnv, wrapped = wrap(ProcessingEnvironment.class, new ProcessingEnvironmentWrapper(processingEnv, myFileManager))); } return wrapped; }