public interface ScalafixFileEvaluation
| Modifier and Type | Method and Description |
|---|---|
ScalafixError[] |
applyPatches() |
ScalafixError[] |
applyPatches(ScalafixPatch[] patches) |
ScalafixDiagnostic[] |
getDiagnostics() |
ScalafixError[] |
getErrors() |
java.nio.file.Path |
getEvaluatedFile() |
ScalafixRule[] |
getEvaluatedRules() |
ScalafixPatch[] |
getPatches() |
boolean |
isSuccessful() |
java.util.Optional<java.lang.String> |
previewPatches() |
java.util.Optional<java.lang.String> |
previewPatches(ScalafixPatch[] patches) |
java.util.Optional<java.lang.String> |
previewPatchesAsUnifiedDiff() |
java.nio.file.Path getEvaluatedFile()
ScalafixRule[] getEvaluatedRules()
boolean isSuccessful()
ScalafixError[] getErrors()
ScalafixDiagnostic[] getDiagnostics()
java.util.Optional<java.lang.String> previewPatchesAsUnifiedDiff()
ScalafixPatch[] getPatches()
java.util.Optional<java.lang.String> previewPatches()
ScalafixError[] applyPatches()
java.util.Optional<java.lang.String> previewPatches(ScalafixPatch[] patches)
ScalafixError[] applyPatches(ScalafixPatch[] patches)
patches - the patches should belong to this scalafixFileEvaluation's patches.
If you apply patches that result from another ScalafixFileEvaluation,
no patch will be applied to the file.