object Rule
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Rule
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def combine(rules: Seq[Rule]): Rule
- def constant(ruleName: String, patch: v0.Patch, index: SemanticdbIndex): Rule
Creates a rule that always returns the same patch.
- lazy val empty: Rule
- def emptyConfigured: Configured[Rule]
- def emptyFromSemanticdbIndexOpt(index: Option[SemanticdbIndex]): Rule
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def linter(ruleName: String)(f: (RuleCtx) => List[v0.Diagnostic]): Rule
Creates a linter.
- def merge(a: Rule, b: Rule): Rule
Combine two rules into a single rule
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def semantic(ruleName: String)(f: (SemanticdbIndex) => (RuleCtx) => v0.Patch): (SemanticdbIndex) => Rule
Creates a semantic rule.
Creates a semantic rule.
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.28) Use scalafix.v1.SemanticRule instead
- def syntactic(ruleName: String)(f: (RuleCtx) => v0.Patch): Rule
Creates a syntactic rule.
Creates a syntactic rule.
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.28) Use scalafix.v1.SyntacticRule instead