Class Checker.FileAuditCompletion

java.lang.Object
com.puppycrawl.tools.checkstyle.Checker.FileAuditCompletion
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Checker

private final class Checker.FileAuditCompletion extends Object implements AutoCloseable
Starts the file audit and completes it when processing ends.
  • Field Details

    • fileName

      private final String fileName
      Name of the file being audited.
  • Constructor Details

    • FileAuditCompletion

      private FileAuditCompletion(String fileName)
      Starts auditing the file.
      Parameters:
      fileName - the name of the file to audit
  • Method Details

    • close

      public void close()
      Completes the file audit.
      Specified by:
      close in interface AutoCloseable