o

scalafix.internal.rule

DottyVarArgPattern

object DottyVarArgPattern extends rule.Rule with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DottyVarArgPattern
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Rule
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def apply(ctx: rule.RuleCtx, patches: Map[RuleName, Patch]): String
    Definition Classes
    Rule
  2. final def apply(ctx: rule.RuleCtx, patch: Patch): String
    Definition Classes
    Rule
  3. final def apply(input: String): String
    Definition Classes
    Rule
  4. final def apply(input: scala.meta.Input, config: config.ScalafixConfig = ScalafixConfig.default): String
    Definition Classes
    Rule
  5. 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
  6. 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
  7. final def diff(ctx: rule.RuleCtx): String

    Returns unified diff from applying this patch

    Returns unified diff from applying this patch

    Definition Classes
    Rule
  8. 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
    DottyVarArgPatternRule
  9. 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
  10. final def merge(other: rule.Rule): rule.Rule

    Combine this rule with another rule.

    Combine this rule with another rule.

    Definition Classes
    Rule
  11. final def name: RuleName
    Definition Classes
    Rule
  12. final def toString(): String
    Definition Classes
    Rule → AnyRef → Any

Deprecated Value Members

  1. final def andThen(other: rule.Rule): rule.Rule
    Definition Classes
    Rule
    Annotations
    @deprecated
    Deprecated

    (Since version 0.5.0) Renamed to merge.