public enum ScalafixRuleKind extends java.lang.Enum<ScalafixRuleKind>
| Enum Constant and Description |
|---|
SEMANTIC
This rule requires input sources to be compiled with the Scala compiler and
the SemanticDB compiler plugin enabled.
|
SYNTACTIC
This rule can run on input sources without compilation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSemantic() |
boolean |
isSyntactic() |
static ScalafixRuleKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScalafixRuleKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalafixRuleKind SEMANTIC
public static final ScalafixRuleKind SYNTACTIC
public static ScalafixRuleKind[] values()
for (ScalafixRuleKind c : ScalafixRuleKind.values()) System.out.println(c);
public static ScalafixRuleKind 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 nullpublic boolean isSemantic()
public boolean isSyntactic()