Packages

final case class LintID(rule: String, category: String) extends Product with Serializable

A unique identifier for this category of lint diagnostics

The contract of id is that all diagnostics of the same "category" will have the same id. For example, the DisableSyntax rule has a unique ID for each category such as "noSemicolon" or "noTabs".

rule

the name of the rule that produced this diagnostic.

category

the sub-category within this rule, if any. Empty if the rule only reports diagnostics of a single category.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LintID
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by XtensionScalafixProductInspect
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LintID(rule: String, category: String)

    rule

    the name of the rule that produced this diagnostic.

    category

    the sub-category within this rule, if any. Empty if the rule only reports diagnostics of a single category.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from LintID to any2stringadd[LintID] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LintID, B)
    Implicit
    This member is added by an implicit conversion from LintID to ArrowAssoc[LintID] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val category: String
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def ensuring(cond: (LintID) ⇒ Boolean, msg: ⇒ Any): LintID
    Implicit
    This member is added by an implicit conversion from LintID to Ensuring[LintID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (LintID) ⇒ Boolean): LintID
    Implicit
    This member is added by an implicit conversion from LintID to Ensuring[LintID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): LintID
    Implicit
    This member is added by an implicit conversion from LintID to Ensuring[LintID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): LintID
    Implicit
    This member is added by an implicit conversion from LintID to Ensuring[LintID] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fullID: String
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val rule: String
  22. def structure: String
    Implicit
    This member is added by an implicit conversion from LintID to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  23. def structureLabeled(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintID to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  24. def structureLabeled: String
    Implicit
    This member is added by an implicit conversion from LintID to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  25. def structureWidth(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintID to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. def [B](y: B): (LintID, B)
    Implicit
    This member is added by an implicit conversion from LintID to ArrowAssoc[LintID] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LintID to StringFormat[LintID] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def structure(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintID to scalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Definition Classes
    XtensionScalafixProductInspect
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.7) use structureWidth instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion XtensionScalafixProductInspect from LintID to scalafix.XtensionScalafixProductInspect

Inherited by implicit conversion any2stringadd from LintID to any2stringadd[LintID]

Inherited by implicit conversion StringFormat from LintID to StringFormat[LintID]

Inherited by implicit conversion Ensuring from LintID to Ensuring[LintID]

Inherited by implicit conversion ArrowAssoc from LintID to ArrowAssoc[LintID]

Ungrouped