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.
- Alphabetic
- By Inheritance
- LintID
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by XtensionScalafixProductInspect
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (LintID, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val category: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (LintID) ⇒ Boolean, msg: ⇒ Any): LintID
- def ensuring(cond: (LintID) ⇒ Boolean): LintID
- def ensuring(cond: Boolean, msg: ⇒ Any): LintID
- def ensuring(cond: Boolean): LintID
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def fullID: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val rule: String
-
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
-
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
-
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
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def →[B](y: B): (LintID, B)
Deprecated Value Members
-
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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
-
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