Class RefactoringDriver
- java.lang.Object
-
- com.google.javascript.refactoring.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RefactoringDriver.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SuggestedFix>
drive(Scanner scanner)
Run a refactoring and return any suggested fixes as a result.java.util.List<SuggestedFix>
drive(Scanner scanner, @Nullable java.util.regex.Pattern includeFilePattern)
Run a refactoring and return any suggested fixes as a result.Compiler
getCompiler()
static CompilerOptions
getCompilerOptions()
-
-
-
Method Detail
-
drive
public java.util.List<SuggestedFix> drive(Scanner scanner, @Nullable 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()
-
getCompilerOptions
public static CompilerOptions getCompilerOptions()
-
-