Package com.google.errorprone.fixes
Class SuggestedFixes.FixCompiler
java.lang.Object
com.google.errorprone.fixes.SuggestedFixes.FixCompiler
- Enclosing class:
- SuggestedFixes
public static final class SuggestedFixes.FixCompiler extends Object
A class to hold the files from the compilation context, with a diff applied to the
currently-processed one; the files can then be recompiled.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SuggestedFixes.FixCompiler.Result
The result of the compilation. -
Method Summary
Modifier and Type Method Description SuggestedFixes.FixCompiler.Result
compile(com.google.common.collect.ImmutableList<String> extraOptions)
static SuggestedFixes.FixCompiler
create(Fix fix, VisitorState state)
static URI
getModifiedFileUri(VisitorState state)
-
Method Details
-
compile
public SuggestedFixes.FixCompiler.Result compile(com.google.common.collect.ImmutableList<String> extraOptions) -
getModifiedFileUri
-
create
- Throws:
IOException
-