Class FileManagers


public final class FileManagers
extends Object
Manages JavacFileManagers 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 Details

    • testFileManager

      public static testFileManager()
      Returns a JavacFileManager for use in compiler-based tests.