Class FileManagers
java.lang.Object
com.google.errorprone.FileManagers
Manages
JavacFileManager
s for use in Error Prone's test.
The file manager does some expensive IO to process the platform and user classpaths, so we re-use the same filemanager instance across multiple tests to re-use that work.
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.sun.tools.javac.file.JavacFileManager
Returns aJavacFileManager
for use in compiler-based tests.
-
Method Details
-
testFileManager
public static com.sun.tools.javac.file.JavacFileManager testFileManager()Returns aJavacFileManager
for use in compiler-based tests.
-