Class RefactoringDriver


  • public final class RefactoringDriver
    extends java.lang.Object
    Primary driver of a refactoring. This class collects the inputs, runs the refactoring over the compiled input, and then collects the suggested fixes based on the refactoring.
    • Method Detail

      • drive

        public java.util.List<SuggestedFix> drive​(Scanner scanner,
                                                  java.util.regex.Pattern includeFilePattern)
        Run a refactoring and return any suggested fixes as a result.
      • drive

        public java.util.List<SuggestedFix> drive​(Scanner scanner)
        Run a refactoring and return any suggested fixes as a result.
      • getCompiler

        public Compiler getCompiler()