sbt.internal.bsp.CompileProvider.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protocol_2.12 Show documentation
Show all versions of protocol_2.12 Show documentation
sbt is an interactive build tool
The newest version!
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.bsp
final class CompileProvider private (
val languageIds: Vector[String]) extends Serializable {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CompileProvider => (this.languageIds == x.languageIds)
case _ => false
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.CompileProvider".##) + languageIds.##)
}
override def toString: String = {
"CompileProvider(" + languageIds + ")"
}
private[this] def copy(languageIds: Vector[String] = languageIds): CompileProvider = {
new CompileProvider(languageIds)
}
def withLanguageIds(languageIds: Vector[String]): CompileProvider = {
copy(languageIds = languageIds)
}
}
object CompileProvider {
def apply(languageIds: Vector[String]): CompileProvider = new CompileProvider(languageIds)
}