public enum ScalafixError extends java.lang.Enum<ScalafixError>
| Enum Constant and Description |
|---|
CommandLineError
A command-line argument parsed incorrectly.
|
LinterError
A linter error was reported.
|
MissingSemanticdbError
A semantic rewrite was run on a source file that has no associated
META-INF/semanticdb/.../*.semanticdb. |
NoFilesError
No files were provided to Scalafix so nothing happened.
|
NoRulesError
No rules were provided to Scalafix so nothing happened.
|
ParseError
A source file failed to parse.
|
StaleSemanticdbError
The source file contents on disk have changed since the last compilation with the SemanticDB compiler plugin.
|
TestError
When run with
ScalafixMainMode.CHECK, this error is returned when a file on disk does not match
the file contents if it was fixed with Scalafix. |
UnexpectedError
Something unexpected happened.
|
| Modifier and Type | Method and Description |
|---|---|
static ScalafixError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScalafixError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalafixError UnexpectedError
public static final ScalafixError ParseError
public static final ScalafixError CommandLineError
public static final ScalafixError MissingSemanticdbError
META-INF/semanticdb/.../*.semanticdb.
Typical causes of this error include
-P:semanticdb:sourceroot:{path}
then make sure the provided --sourceroot is correct.
public static final ScalafixError StaleSemanticdbError
public static final ScalafixError TestError
ScalafixMainMode.CHECK, this error is returned when a file on disk does not match
the file contents if it was fixed with Scalafix.public static final ScalafixError LinterError
public static final ScalafixError NoFilesError
public static final ScalafixError NoRulesError
public static ScalafixError[] values()
for (ScalafixError c : ScalafixError.values()) System.out.println(c);
public static ScalafixError valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null