public final class RefactoringDriver
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RefactoringDriver.Builder |
Modifier and Type | Field and Description |
---|---|
private Compiler |
compiler |
private Node |
rootNode |
private Scanner |
scanner |
Modifier | Constructor and Description |
---|---|
private |
RefactoringDriver(Scanner scanner,
java.util.List<SourceFile> inputs,
java.util.List<SourceFile> externs,
CompilerOptions compilerOptions) |
Modifier and Type | Method and Description |
---|---|
private Compiler |
createCompiler(java.util.List<SourceFile> inputs,
java.util.List<SourceFile> externs,
CompilerOptions compilerOptions) |
java.util.List<SuggestedFix> |
drive()
Run the refactoring and return any suggested fixes as a result.
|
Compiler |
getCompiler() |
static CompilerOptions |
getCompilerOptions() |
private final Scanner scanner
private final Compiler compiler
private final Node rootNode
private RefactoringDriver(Scanner scanner, java.util.List<SourceFile> inputs, java.util.List<SourceFile> externs, CompilerOptions compilerOptions)
public java.util.List<SuggestedFix> drive()
public Compiler getCompiler()
private Compiler createCompiler(java.util.List<SourceFile> inputs, java.util.List<SourceFile> externs, CompilerOptions compilerOptions)
public static CompilerOptions getCompilerOptions()