final case class LintCategory(id: String, explanation: String, severity: LintSeverity) extends Product with Serializable

A unique identifier for one kind of a linter message.

id

a string ID for this message, typically the name of the assigned variable. If id is empty, then the name of the rewrite reporting this LintCategory is used as id.

explanation

An optional explanation for this kind of message.

severity

The default category this message should get reported to. Note that users can configure/override the default category.

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

Instance Constructors

  1. new LintCategory(id: String, explanation: String, severity: LintSeverity)

    id

    a string ID for this message, typically the name of the assigned variable. If id is empty, then the name of the rewrite reporting this LintCategory is used as id.

    explanation

    An optional explanation for this kind of message.

    severity

    The default category this message should get reported to. Note that users can configure/override the default 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 LintCategory toany2stringadd[LintCategory] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (LintCategory, B)
    Implicit
    This member is added by an implicit conversion from LintCategory toArrowAssoc[LintCategory] 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. def at(position: Position): v0.Diagnostic
  8. def at(message: String): v0.Diagnostic
  9. def at(message: String, position: Position): v0.Diagnostic
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def ensuring(cond: (LintCategory) => Boolean, msg: => Any): LintCategory
    Implicit
    This member is added by an implicit conversion from LintCategory toEnsuring[LintCategory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (LintCategory) => Boolean): LintCategory
    Implicit
    This member is added by an implicit conversion from LintCategory toEnsuring[LintCategory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: => Any): LintCategory
    Implicit
    This member is added by an implicit conversion from LintCategory toEnsuring[LintCategory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): LintCategory
    Implicit
    This member is added by an implicit conversion from LintCategory toEnsuring[LintCategory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val explanation: String
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from LintCategory toStringFormat[LintCategory] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. def fullId(owner: v0.RuleName): String
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. val id: String
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. val severity: LintSeverity
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. def withConfig(config: LintConfig): LintCategory
  33. def withOwner(owner: v0.RuleName): LintCategory

Shadowed Implicit Value Members

  1. def structure: String
    Implicit
    This member is added by an implicit conversion from LintCategory tov0.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: v0.XtensionScalafixProductInspect).structure
    Definition Classes
    XtensionScalafixProductInspect
  2. def structure: String
    Implicit
    This member is added by an implicit conversion from LintCategory toscalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: scalafix.XtensionScalafixProductInspect).structure
    Definition Classes
    XtensionScalafixProductInspect
  3. def structureLabeled(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintCategory tov0.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: v0.XtensionScalafixProductInspect).structureLabeled(printWidth)
    Definition Classes
    XtensionScalafixProductInspect
  4. def structureLabeled: String
    Implicit
    This member is added by an implicit conversion from LintCategory tov0.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: v0.XtensionScalafixProductInspect).structureLabeled
    Definition Classes
    XtensionScalafixProductInspect
  5. def structureLabeled(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintCategory toscalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: scalafix.XtensionScalafixProductInspect).structureLabeled(printWidth)
    Definition Classes
    XtensionScalafixProductInspect
  6. def structureLabeled: String
    Implicit
    This member is added by an implicit conversion from LintCategory toscalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: scalafix.XtensionScalafixProductInspect).structureLabeled
    Definition Classes
    XtensionScalafixProductInspect
  7. def structureWidth(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintCategory tov0.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: v0.XtensionScalafixProductInspect).structureWidth(printWidth)
    Definition Classes
    XtensionScalafixProductInspect
  8. def structureWidth(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintCategory toscalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: scalafix.XtensionScalafixProductInspect).structureWidth(printWidth)
    Definition Classes
    XtensionScalafixProductInspect

Deprecated Value Members

  1. def structure(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintCategory tov0.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: v0.XtensionScalafixProductInspect).structure(printWidth)
    Definition Classes
    XtensionScalafixProductInspect
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.7) use structureWidth instead

  2. def structure(printWidth: Int): String
    Implicit
    This member is added by an implicit conversion from LintCategory toscalafix.XtensionScalafixProductInspect performed by method XtensionScalafixProductInspect in scalafix.util.Api.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (lintCategory: scalafix.XtensionScalafixProductInspect).structure(printWidth)
    Definition Classes
    XtensionScalafixProductInspect
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.7) use structureWidth instead

  3. def [B](y: B): (LintCategory, B)
    Implicit
    This member is added by an implicit conversion from LintCategory toArrowAssoc[LintCategory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion XtensionScalafixProductInspect fromLintCategory to v0.XtensionScalafixProductInspect

Inherited by implicit conversion XtensionScalafixProductInspect fromLintCategory to scalafix.XtensionScalafixProductInspect

Inherited by implicit conversion any2stringadd fromLintCategory to any2stringadd[LintCategory]

Inherited by implicit conversion StringFormat fromLintCategory to StringFormat[LintCategory]

Inherited by implicit conversion Ensuring fromLintCategory to Ensuring[LintCategory]

Inherited by implicit conversion ArrowAssoc fromLintCategory to ArrowAssoc[LintCategory]

Ungrouped