object DottyVarArgPattern extends rule.Rule with Product with Serializable
- Alphabetic
- By Inheritance
- DottyVarArgPattern
- Serializable
- Serializable
- Product
- Equals
- Rule
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
apply(ctx: rule.RuleCtx, patches: Map[RuleName, Patch]): String
- Definition Classes
- Rule
-
final
def
apply(ctx: rule.RuleCtx, patch: Patch): String
- Definition Classes
- Rule
-
final
def
apply(input: String): String
- Definition Classes
- Rule
-
final
def
apply(input: scala.meta.Input, config: config.ScalafixConfig = ScalafixConfig.default): String
- Definition Classes
- Rule
-
final
def
apply(ctx: rule.RuleCtx): String
Returns string output of applying this single patch.
Returns string output of applying this single patch.
- Definition Classes
- Rule
-
def
check(ctx: rule.RuleCtx): Seq[LintMessage]
Returns linter messages to report violations of this rule.
Returns linter messages to report violations of this rule.
- Definition Classes
- Rule
-
final
def
diff(ctx: rule.RuleCtx): String
Returns unified diff from applying this patch
Returns unified diff from applying this patch
- Definition Classes
- Rule
-
def
fix(ctx: rule.RuleCtx): Patch
Returns a patch to fix violations of this rule.
Returns a patch to fix violations of this rule.
- Definition Classes
- DottyVarArgPattern → Rule
-
def
init(config: Conf): Configured[rule.Rule]
Initialize this rule with the given user configuration.
Initialize this rule with the given user configuration.
This method is called once by scalafix before rule is called. Use this method to either read custom configuration or to build expensive indices.
- config
The .scalafix.conf configuration.
- returns
the initialized rule or an error. If no initialization is needed, return Configured.Ok(this).
- Definition Classes
- Rule
-
final
def
merge(other: rule.Rule): rule.Rule
Combine this rule with another rule.
Combine this rule with another rule.
- Definition Classes
- Rule
-
final
def
name: RuleName
- Definition Classes
- Rule
-
final
def
toString(): String
- Definition Classes
- Rule → AnyRef → Any