All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scalafix.rule.RuleIdentifier.scala Maven / Gradle / Ivy

package scalafix.rule

import scalafix.util.Deprecated

/** A thin wrapper around a string name and optional deprecation warning. */
final case class RuleIdentifier(
    value: String,
    deprecated: Option[Deprecated]
) {
  override def toString: String = value
}

object RuleIdentifier {
  def apply(value: String): RuleIdentifier =
    new RuleIdentifier(value, None)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy