Merge pull request #6225 from jtjeferreira/feature/contraband_regen

regen contraband
This commit is contained in:
eugene yokota 2020-12-21 12:47:20 -05:00 committed by GitHub
commit 7e1cc051f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
142 changed files with 256 additions and 696 deletions

View File

@ -11,10 +11,10 @@ abstract class AbstractEntry(
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: AbstractEntry => (this.channelName == x.channelName) && (this.execId == x.execId)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.util.AbstractEntry".##) + channelName.##) + execId.##)
}

View File

@ -16,10 +16,10 @@ final class ProgressEvent private (
private def this(level: String, items: Vector[sbt.internal.util.ProgressItem], lastTaskCount: Option[Int], channelName: Option[String], execId: Option[String]) = this(level, items, lastTaskCount, channelName, execId, None, None)
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ProgressEvent => (this.level == x.level) && (this.items == x.items) && (this.lastTaskCount == x.lastTaskCount) && (this.channelName == x.channelName) && (this.execId == x.execId) && (this.command == x.command) && (this.skipIfActive == x.skipIfActive)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.util.ProgressEvent".##) + level.##) + items.##) + lastTaskCount.##) + channelName.##) + execId.##) + command.##) + skipIfActive.##)
}

View File

@ -15,10 +15,10 @@ final class ProgressItem private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ProgressItem => (this.name == x.name) && (this.elapsedMicros == x.elapsedMicros)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.util.ProgressItem".##) + name.##) + elapsedMicros.##)
}

View File

@ -12,10 +12,10 @@ final class StringEvent private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: StringEvent => (this.level == x.level) && (this.message == x.message) && (this.channelName == x.channelName) && (this.execId == x.execId)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.util.StringEvent".##) + level.##) + message.##) + channelName.##) + execId.##)
}

View File

@ -9,10 +9,10 @@ final class SuccessEvent private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SuccessEvent => (this.message == x.message)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.util.SuccessEvent".##) + message.##)
}

View File

@ -12,10 +12,10 @@ final class TraceEvent private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TraceEvent => (this.level == x.level) && (this.message == x.message) && (this.channelName == x.channelName) && (this.execId == x.execId)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.util.TraceEvent".##) + level.##) + message.##) + channelName.##) + execId.##)
}

View File

@ -9,10 +9,10 @@ final class CommandSource private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CommandSource => (this.channelName == x.channelName)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.CommandSource".##) + channelName.##)
}

View File

@ -11,10 +11,10 @@ final class Exec private (
private def this(commandLine: String, source: Option[sbt.CommandSource]) = this(commandLine, None, source)
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Exec => (this.commandLine == x.commandLine) && (this.execId == x.execId) && (this.source == x.source)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.Exec".##) + commandLine.##) + execId.##) + source.##)
}

View File

@ -13,10 +13,10 @@ final class JavaVersion private (
private def this() = this(Vector(), Vector(), None)
private def this(numbers: Vector[Long], vendor: Option[String]) = this(numbers, Vector(), vendor)
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: JavaVersion => (this.numbers == x.numbers) && (this.tags == x.tags) && (this.vendor == x.vendor)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.JavaVersion".##) + numbers.##) + tags.##) + vendor.##)
}

View File

@ -12,10 +12,10 @@ final class CompileRemoteCacheArtifact private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CompileRemoteCacheArtifact => (this.artifact == x.artifact) && (this.packaged == x.packaged) && (this.extractDirectory == x.extractDirectory) && (this.analysisFile == x.analysisFile)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.remotecache.CompileRemoteCacheArtifact".##) + artifact.##) + packaged.##) + extractDirectory.##) + analysisFile.##)
}

View File

@ -12,10 +12,10 @@ final class CustomRemoteCacheArtifact private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CustomRemoteCacheArtifact => (this.artifact == x.artifact) && (this.packaged == x.packaged) && (this.extractDirectory == x.extractDirectory) && (this.preserveLastModified == x.preserveLastModified)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.remotecache.CustomRemoteCacheArtifact".##) + artifact.##) + packaged.##) + extractDirectory.##) + preserveLastModified.##)
}

View File

@ -10,10 +10,10 @@ final class PomRemoteCacheArtifact private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: PomRemoteCacheArtifact => (this.artifact == x.artifact) && (this.packaged == x.packaged)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.remotecache.PomRemoteCacheArtifact".##) + artifact.##) + packaged.##)
}

View File

@ -11,10 +11,10 @@ abstract class RemoteCacheArtifact(
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: RemoteCacheArtifact => (this.artifact == x.artifact) && (this.packaged == x.packaged)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.remotecache.RemoteCacheArtifact".##) + artifact.##) + packaged.##)
}

View File

@ -13,10 +13,10 @@ final class TestRemoteCacheArtifact private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TestRemoteCacheArtifact => (this.artifact == x.artifact) && (this.packaged == x.packaged) && (this.extractDirectory == x.extractDirectory) && (this.analysisFile == x.analysisFile) && (this.testResult == x.testResult)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.remotecache.TestRemoteCacheArtifact".##) + artifact.##) + packaged.##) + extractDirectory.##) + analysisFile.##) + testResult.##)
}

View File

@ -15,10 +15,10 @@ final class BspCompileResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: BspCompileResult => (this.originId == x.originId) && (this.statusCode == x.statusCode)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.BspCompileResult".##) + originId.##) + statusCode.##)
}

View File

@ -21,10 +21,10 @@ final class BspConnectionDetails private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: BspConnectionDetails => (this.name == x.name) && (this.version == x.version) && (this.bspVersion == x.bspVersion) && (this.languages == x.languages) && (this.argv == x.argv)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.BspConnectionDetails".##) + name.##) + version.##) + bspVersion.##) + languages.##) + argv.##)
}

View File

@ -13,10 +13,10 @@ final class BuildClientCapabilities private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: BuildClientCapabilities => (this.languageIds == x.languageIds)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.BuildClientCapabilities".##) + languageIds.##)
}

View File

@ -20,10 +20,10 @@ final class BuildServerCapabilities private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: BuildServerCapabilities => (this.compileProvider == x.compileProvider) && (this.testProvider == x.testProvider) && (this.runProvider == x.runProvider) && (this.dependencySourcesProvider == x.dependencySourcesProvider) && (this.canReload == x.canReload)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.BuildServerCapabilities".##) + compileProvider.##) + testProvider.##) + runProvider.##) + dependencySourcesProvider.##) + canReload.##)
}

View File

@ -42,10 +42,10 @@ final class BuildTarget private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: BuildTarget => (this.id == x.id) && (this.displayName == x.displayName) && (this.baseDirectory == x.baseDirectory) && (this.tags == x.tags) && (this.capabilities == x.capabilities) && (this.languageIds == x.languageIds) && (this.dependencies == x.dependencies) && (this.dataKind == x.dataKind) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.BuildTarget".##) + id.##) + displayName.##) + baseDirectory.##) + tags.##) + capabilities.##) + languageIds.##) + dependencies.##) + dataKind.##) + data.##)
}

View File

@ -16,10 +16,10 @@ final class BuildTargetCapabilities private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: BuildTargetCapabilities => (this.canCompile == x.canCompile) && (this.canTest == x.canTest) && (this.canRun == x.canRun)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.BuildTargetCapabilities".##) + canCompile.##) + canTest.##) + canRun.##)
}

View File

@ -13,10 +13,10 @@ final class BuildTargetIdentifier private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: BuildTargetIdentifier => (this.uri == x.uri)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.BuildTargetIdentifier".##) + uri.##)
}

View File

@ -18,10 +18,10 @@ final class CompileParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CompileParams => (this.targets == x.targets) && (this.originId == x.originId) && (this.arguments == x.arguments)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.CompileParams".##) + targets.##) + originId.##) + arguments.##)
}

View File

@ -9,10 +9,10 @@ final class CompileProvider private (
override def equals(o: Any): Boolean = o match {
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.##)
}

View File

@ -20,10 +20,10 @@ final class CompileReport private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CompileReport => (this.target == x.target) && (this.originId == x.originId) && (this.errors == x.errors) && (this.warnings == x.warnings) && (this.time == x.time)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.CompileReport".##) + target.##) + originId.##) + errors.##) + warnings.##) + time.##)
}

View File

@ -10,10 +10,10 @@ final class CompileTask private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CompileTask => (this.target == x.target)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.CompileTask".##) + target.##)
}

View File

@ -12,10 +12,10 @@ final class DependencySourcesItem private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: DependencySourcesItem => (this.target == x.target) && (this.sources == x.sources)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.DependencySourcesItem".##) + target.##) + sources.##)
}

View File

@ -10,10 +10,10 @@ final class DependencySourcesParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: DependencySourcesParams => (this.targets == x.targets)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.DependencySourcesParams".##) + targets.##)
}

View File

@ -10,10 +10,10 @@ final class DependencySourcesResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: DependencySourcesResult => (this.items == x.items)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.DependencySourcesResult".##) + items.##)
}

View File

@ -24,10 +24,10 @@ final class Diagnostic private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Diagnostic => (this.range == x.range) && (this.severity == x.severity) && (this.code == x.code) && (this.source == x.source) && (this.message == x.message)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.Diagnostic".##) + range.##) + severity.##) + code.##) + source.##) + message.##)
}

View File

@ -23,10 +23,10 @@ final class InitializeBuildParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: InitializeBuildParams => (this.displayName == x.displayName) && (this.version == x.version) && (this.bspVersion == x.bspVersion) && (this.rootUri == x.rootUri) && (this.capabilities == x.capabilities) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.InitializeBuildParams".##) + displayName.##) + version.##) + bspVersion.##) + rootUri.##) + capabilities.##) + data.##)
}

View File

@ -20,10 +20,10 @@ final class InitializeBuildResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: InitializeBuildResult => (this.displayName == x.displayName) && (this.version == x.version) && (this.bspVersion == x.bspVersion) && (this.capabilities == x.capabilities) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.InitializeBuildResult".##) + displayName.##) + version.##) + bspVersion.##) + capabilities.##) + data.##)
}

View File

@ -15,10 +15,10 @@ final class MetalsMetadata private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: MetalsMetadata => (this.semanticdbVersion == x.semanticdbVersion) && (this.supportedScalaVersions == x.supportedScalaVersions)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.MetalsMetadata".##) + semanticdbVersion.##) + supportedScalaVersions.##)
}

View File

@ -16,10 +16,10 @@ final class Position private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Position => (this.line == x.line) && (this.character == x.character)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.Position".##) + line.##) + character.##)
}

View File

@ -24,10 +24,10 @@ final class PublishDiagnosticsParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: PublishDiagnosticsParams => (this.textDocument == x.textDocument) && (this.buildTarget == x.buildTarget) && (this.originId == x.originId) && (this.diagnostics == x.diagnostics) && (this.reset == x.reset)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.PublishDiagnosticsParams".##) + textDocument.##) + buildTarget.##) + originId.##) + diagnostics.##) + reset.##)
}

View File

@ -16,10 +16,10 @@ final class Range private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Range => (this.start == x.start) && (this.end == x.end)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.Range".##) + start.##) + end.##)
}

View File

@ -26,10 +26,10 @@ final class RunParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: RunParams => (this.target == x.target) && (this.originId == x.originId) && (this.arguments == x.arguments) && (this.dataKind == x.dataKind) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.RunParams".##) + target.##) + originId.##) + arguments.##) + dataKind.##) + data.##)
}

View File

@ -9,10 +9,10 @@ final class RunProvider private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: RunProvider => (this.languageIds == x.languageIds)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.RunProvider".##) + languageIds.##)
}

View File

@ -15,10 +15,10 @@ final class RunResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: RunResult => (this.originId == x.originId) && (this.statusCode == x.statusCode)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.RunResult".##) + originId.##) + statusCode.##)
}

View File

@ -26,10 +26,10 @@ final class SbtBuildTarget private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SbtBuildTarget => (this.sbtVersion == x.sbtVersion) && (this.autoImports == x.autoImports) && (this.scalaBuildTarget == x.scalaBuildTarget) && (this.parent == x.parent) && (this.children == x.children)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.SbtBuildTarget".##) + sbtVersion.##) + autoImports.##) + scalaBuildTarget.##) + parent.##) + children.##)
}

View File

@ -24,10 +24,10 @@ final class ScalaBuildTarget private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaBuildTarget => (this.scalaOrganization == x.scalaOrganization) && (this.scalaVersion == x.scalaVersion) && (this.scalaBinaryVersion == x.scalaBinaryVersion) && (this.platform == x.platform) && (this.jars == x.jars)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaBuildTarget".##) + scalaOrganization.##) + scalaVersion.##) + scalaBinaryVersion.##) + platform.##) + jars.##)
}

View File

@ -16,10 +16,10 @@ final class ScalaMainClass private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaMainClass => (this.`class` == x.`class`) && (this.arguments == x.arguments) && (this.jvmOptions == x.jvmOptions)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaMainClass".##) + `class`.##) + arguments.##) + jvmOptions.##)
}

View File

@ -14,10 +14,10 @@ final class ScalaMainClassesItem private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaMainClassesItem => (this.target == x.target) && (this.classes == x.classes)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaMainClassesItem".##) + target.##) + classes.##)
}

View File

@ -16,10 +16,10 @@ final class ScalaMainClassesParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaMainClassesParams => (this.targets == x.targets) && (this.originId == x.originId)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaMainClassesParams".##) + targets.##) + originId.##)
}

View File

@ -11,10 +11,10 @@ final class ScalaMainClassesResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaMainClassesResult => (this.items == x.items) && (this.originId == x.originId)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaMainClassesResult".##) + items.##) + originId.##)
}

View File

@ -14,10 +14,10 @@ final class ScalaTestClassesItem private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaTestClassesItem => (this.target == x.target) && (this.classes == x.classes)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaTestClassesItem".##) + target.##) + classes.##)
}

View File

@ -16,10 +16,10 @@ final class ScalaTestClassesParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaTestClassesParams => (this.targets == x.targets) && (this.originId == x.originId)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaTestClassesParams".##) + targets.##) + originId.##)
}

View File

@ -11,10 +11,10 @@ final class ScalaTestClassesResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaTestClassesResult => (this.items == x.items) && (this.originId == x.originId)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalaTestClassesResult".##) + items.##) + originId.##)
}

View File

@ -15,10 +15,10 @@ final class ScalaTestParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalaTestParams => (this.testClasses == x.testClasses)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.ScalaTestParams".##) + testClasses.##)
}

View File

@ -21,10 +21,10 @@ final class ScalacOptionsItem private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalacOptionsItem => (this.target == x.target) && (this.options == x.options) && (this.classpath == x.classpath) && (this.classDirectory == x.classDirectory)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.ScalacOptionsItem".##) + target.##) + options.##) + classpath.##) + classDirectory.##)
}

View File

@ -14,10 +14,10 @@ final class ScalacOptionsParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalacOptionsParams => (this.targets == x.targets)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.ScalacOptionsParams".##) + targets.##)
}

View File

@ -9,10 +9,10 @@ final class ScalacOptionsResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ScalacOptionsResult => (this.items == x.items)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.ScalacOptionsResult".##) + items.##)
}

View File

@ -20,10 +20,10 @@ final class SourceItem private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SourceItem => (this.uri == x.uri) && (this.kind == x.kind) && (this.generated == x.generated)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.SourceItem".##) + uri.##) + kind.##) + generated.##)
}

View File

@ -11,10 +11,10 @@ final class SourcesItem private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SourcesItem => (this.target == x.target) && (this.sources == x.sources)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.SourcesItem".##) + target.##) + sources.##)
}

View File

@ -10,10 +10,10 @@ final class SourcesParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SourcesParams => (this.targets == x.targets)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.SourcesParams".##) + targets.##)
}

View File

@ -10,10 +10,10 @@ final class SourcesResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SourcesResult => (this.items == x.items)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.SourcesResult".##) + items.##)
}

View File

@ -22,10 +22,10 @@ final class TaskFinishParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TaskFinishParams => (this.taskId == x.taskId) && (this.eventTime == x.eventTime) && (this.message == x.message) && (this.status == x.status) && (this.dataKind == x.dataKind) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.TaskFinishParams".##) + taskId.##) + eventTime.##) + message.##) + status.##) + dataKind.##) + data.##)
}

View File

@ -15,10 +15,10 @@ final class TaskId private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TaskId => (this.id == x.id) && (this.parents == x.parents)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.TaskId".##) + id.##) + parents.##)
}

View File

@ -21,10 +21,10 @@ final class TaskStartParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TaskStartParams => (this.taskId == x.taskId) && (this.eventTime == x.eventTime) && (this.message == x.message) && (this.dataKind == x.dataKind) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.TaskStartParams".##) + taskId.##) + eventTime.##) + message.##) + dataKind.##) + data.##)
}

View File

@ -25,10 +25,10 @@ final class TestParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TestParams => (this.targets == x.targets) && (this.originId == x.originId) && (this.arguments == x.arguments) && (this.dataKind == x.dataKind) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.TestParams".##) + targets.##) + originId.##) + arguments.##) + dataKind.##) + data.##)
}

View File

@ -9,10 +9,10 @@ final class TestProvider private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TestProvider => (this.languageIds == x.languageIds)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.TestProvider".##) + languageIds.##)
}

View File

@ -15,10 +15,10 @@ final class TestResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TestResult => (this.originId == x.originId) && (this.statusCode == x.statusCode)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.bsp.TestResult".##) + originId.##) + statusCode.##)
}

View File

@ -10,10 +10,10 @@ final class TextDocumentIdentifier private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TextDocumentIdentifier => (this.uri == x.uri)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.TextDocumentIdentifier".##) + uri.##)
}

View File

@ -14,10 +14,10 @@ final class WorkspaceBuildTargetsResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: WorkspaceBuildTargetsResult => (this.targets == x.targets)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.bsp.WorkspaceBuildTargetsResult".##) + targets.##)
}

View File

@ -10,10 +10,10 @@ final class CancelRequestParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: CancelRequestParams => (this.id == x.id)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.langserver.CancelRequestParams".##) + id.##)
}

View File

@ -8,10 +8,10 @@ final class ClientCapabilities private () extends Serializable {
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case _: ClientCapabilities => true
case _ => false
}
})
override def hashCode: Int = {
37 * (17 + "sbt.internal.langserver.ClientCapabilities".##)
}

View File

@ -1,28 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver
abstract class Command(
val title: Option[String],
val command: Option[String],
val arguments: Vector[String]) extends Serializable {
override def equals(o: Any): Boolean = o match {
case x: Command => (this.title == x.title) && (this.command == x.command) && (this.arguments == x.arguments)
case _ => false
}
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.langserver.Command".##) + title.##) + command.##) + arguments.##)
}
override def toString: String = {
"Command(" + title + ", " + command + ", " + arguments + ")"
}
}
object Command {
}

View File

@ -1,40 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver
final class CompletionContext private (
val triggerKind: Int,
val triggerCharacter: Option[String]) extends Serializable {
override def equals(o: Any): Boolean = o match {
case x: CompletionContext => (this.triggerKind == x.triggerKind) && (this.triggerCharacter == x.triggerCharacter)
case _ => false
}
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.CompletionContext".##) + triggerKind.##) + triggerCharacter.##)
}
override def toString: String = {
"CompletionContext(" + triggerKind + ", " + triggerCharacter + ")"
}
private[this] def copy(triggerKind: Int = triggerKind, triggerCharacter: Option[String] = triggerCharacter): CompletionContext = {
new CompletionContext(triggerKind, triggerCharacter)
}
def withTriggerKind(triggerKind: Int): CompletionContext = {
copy(triggerKind = triggerKind)
}
def withTriggerCharacter(triggerCharacter: Option[String]): CompletionContext = {
copy(triggerCharacter = triggerCharacter)
}
def withTriggerCharacter(triggerCharacter: String): CompletionContext = {
copy(triggerCharacter = Option(triggerCharacter))
}
}
object CompletionContext {
def apply(triggerKind: Int, triggerCharacter: Option[String]): CompletionContext = new CompletionContext(triggerKind, triggerCharacter)
def apply(triggerKind: Int, triggerCharacter: String): CompletionContext = new CompletionContext(triggerKind, Option(triggerCharacter))
}

View File

@ -1,32 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver
final class CompletionItem private (
val label: String) extends Serializable {
override def equals(o: Any): Boolean = o match {
case x: CompletionItem => (this.label == x.label)
case _ => false
}
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.langserver.CompletionItem".##) + label.##)
}
override def toString: String = {
"CompletionItem(" + label + ")"
}
private[this] def copy(label: String = label): CompletionItem = {
new CompletionItem(label)
}
def withLabel(label: String): CompletionItem = {
copy(label = label)
}
}
object CompletionItem {
def apply(label: String): CompletionItem = new CompletionItem(label)
}

View File

@ -1,36 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver
final class CompletionList private (
val isIncomplete: Boolean,
val items: Vector[sbt.internal.langserver.CompletionItem]) extends Serializable {
override def equals(o: Any): Boolean = o match {
case x: CompletionList => (this.isIncomplete == x.isIncomplete) && (this.items == x.items)
case _ => false
}
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.CompletionList".##) + isIncomplete.##) + items.##)
}
override def toString: String = {
"CompletionList(" + isIncomplete + ", " + items + ")"
}
private[this] def copy(isIncomplete: Boolean = isIncomplete, items: Vector[sbt.internal.langserver.CompletionItem] = items): CompletionList = {
new CompletionList(isIncomplete, items)
}
def withIsIncomplete(isIncomplete: Boolean): CompletionList = {
copy(isIncomplete = isIncomplete)
}
def withItems(items: Vector[sbt.internal.langserver.CompletionItem]): CompletionList = {
copy(items = items)
}
}
object CompletionList {
def apply(isIncomplete: Boolean, items: Vector[sbt.internal.langserver.CompletionItem]): CompletionList = new CompletionList(isIncomplete, items)
}

View File

@ -1,50 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver
/**
* Completion request interfaces
* @param textDocument The text document.
* @param position The position inside the text document.
* @param context completion context
*/
final class CompletionParams private (
textDocument: sbt.internal.langserver.TextDocumentIdentifier,
position: sbt.internal.langserver.Position,
val context: Option[sbt.internal.langserver.CompletionContext]) extends sbt.internal.langserver.TextDocumentPositionParamsInterface(textDocument, position) with Serializable {
override def equals(o: Any): Boolean = o match {
case x: CompletionParams => (this.textDocument == x.textDocument) && (this.position == x.position) && (this.context == x.context)
case _ => false
}
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.langserver.CompletionParams".##) + textDocument.##) + position.##) + context.##)
}
override def toString: String = {
"CompletionParams(" + textDocument + ", " + position + ", " + context + ")"
}
private[this] def copy(textDocument: sbt.internal.langserver.TextDocumentIdentifier = textDocument, position: sbt.internal.langserver.Position = position, context: Option[sbt.internal.langserver.CompletionContext] = context): CompletionParams = {
new CompletionParams(textDocument, position, context)
}
def withTextDocument(textDocument: sbt.internal.langserver.TextDocumentIdentifier): CompletionParams = {
copy(textDocument = textDocument)
}
def withPosition(position: sbt.internal.langserver.Position): CompletionParams = {
copy(position = position)
}
def withContext(context: Option[sbt.internal.langserver.CompletionContext]): CompletionParams = {
copy(context = context)
}
def withContext(context: sbt.internal.langserver.CompletionContext): CompletionParams = {
copy(context = Option(context))
}
}
object CompletionParams {
def apply(textDocument: sbt.internal.langserver.TextDocumentIdentifier, position: sbt.internal.langserver.Position, context: Option[sbt.internal.langserver.CompletionContext]): CompletionParams = new CompletionParams(textDocument, position, context)
def apply(textDocument: sbt.internal.langserver.TextDocumentIdentifier, position: sbt.internal.langserver.Position, context: sbt.internal.langserver.CompletionContext): CompletionParams = new CompletionParams(textDocument, position, Option(context))
}

View File

@ -24,10 +24,10 @@ final class Diagnostic private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Diagnostic => (this.range == x.range) && (this.severity == x.severity) && (this.code == x.code) && (this.source == x.source) && (this.message == x.message)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.langserver.Diagnostic".##) + range.##) + severity.##) + code.##) + source.##) + message.##)
}

View File

@ -15,10 +15,10 @@ final class InitializeParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: InitializeParams => (this.processId == x.processId) && (this.rootPath == x.rootPath) && (this.rootUri == x.rootUri) && (this.initializationOptions == x.initializationOptions) && (this.capabilities == x.capabilities) && (this.trace == x.trace)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.langserver.InitializeParams".##) + processId.##) + rootPath.##) + rootUri.##) + initializationOptions.##) + capabilities.##) + trace.##)
}

View File

@ -10,10 +10,10 @@ final class InitializeResult private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: InitializeResult => (this.capabilities == x.capabilities)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.langserver.InitializeResult".##) + capabilities.##)
}

View File

@ -11,10 +11,10 @@ final class Location private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Location => (this.uri == x.uri) && (this.range == x.range)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.Location".##) + uri.##) + range.##)
}

View File

@ -14,10 +14,10 @@ final class LogMessageParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: LogMessageParams => (this.`type` == x.`type`) && (this.message == x.message)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.LogMessageParams".##) + `type`.##) + message.##)
}

View File

@ -16,10 +16,10 @@ final class Position private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Position => (this.line == x.line) && (this.character == x.character)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.Position".##) + line.##) + character.##)
}

View File

@ -15,10 +15,10 @@ final class PublishDiagnosticsParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: PublishDiagnosticsParams => (this.uri == x.uri) && (this.diagnostics == x.diagnostics)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.PublishDiagnosticsParams".##) + uri.##) + diagnostics.##)
}

View File

@ -16,10 +16,10 @@ final class Range private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: Range => (this.start == x.start) && (this.end == x.end)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.Range".##) + start.##) + end.##)
}

View File

@ -10,10 +10,10 @@ final class SaveOptions private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SaveOptions => (this.includeText == x.includeText)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.langserver.SaveOptions".##) + includeText.##)
}

View File

@ -10,10 +10,10 @@ final class SbtExecParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: SbtExecParams => (this.commandLine == x.commandLine)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.langserver.SbtExecParams".##) + commandLine.##)
}

View File

@ -15,10 +15,10 @@ final class ServerCapabilities private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: ServerCapabilities => (this.textDocumentSync == x.textDocumentSync) && (this.hoverProvider == x.hoverProvider) && (this.definitionProvider == x.definitionProvider)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.langserver.ServerCapabilities".##) + textDocumentSync.##) + hoverProvider.##) + definitionProvider.##)
}

View File

@ -13,10 +13,10 @@ final class TextDocumentIdentifier private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TextDocumentIdentifier => (this.uri == x.uri)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.langserver.TextDocumentIdentifier".##) + uri.##)
}

View File

@ -14,10 +14,10 @@ final class TextDocumentPositionParams private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TextDocumentPositionParams => (this.textDocument == x.textDocument) && (this.position == x.position)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.TextDocumentPositionParams".##) + textDocument.##) + position.##)
}

View File

@ -12,10 +12,10 @@ abstract class TextDocumentPositionParamsInterface(
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TextDocumentPositionParamsInterface => (this.textDocument == x.textDocument) && (this.position == x.position)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.TextDocumentPositionParamsInterface".##) + textDocument.##) + position.##)
}

View File

@ -13,10 +13,10 @@ final class TextDocumentSyncOptions private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TextDocumentSyncOptions => (this.openClose == x.openClose) && (this.change == x.change) && (this.willSave == x.willSave) && (this.willSaveWaitUntil == x.willSaveWaitUntil) && (this.save == x.save)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.langserver.TextDocumentSyncOptions".##) + openClose.##) + change.##) + willSave.##) + willSaveWaitUntil.##) + save.##)
}

View File

@ -1,36 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver
final class TextEdit private (
val range: sbt.internal.langserver.Range,
val newText: String) extends Serializable {
override def equals(o: Any): Boolean = o match {
case x: TextEdit => (this.range == x.range) && (this.newText == x.newText)
case _ => false
}
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.langserver.TextEdit".##) + range.##) + newText.##)
}
override def toString: String = {
"TextEdit(" + range + ", " + newText + ")"
}
private[this] def copy(range: sbt.internal.langserver.Range = range, newText: String = newText): TextEdit = {
new TextEdit(range, newText)
}
def withRange(range: sbt.internal.langserver.Range): TextEdit = {
copy(range = range)
}
def withNewText(newText: String): TextEdit = {
copy(newText = newText)
}
}
object TextEdit {
def apply(range: sbt.internal.langserver.Range, newText: String): TextEdit = new TextEdit(range, newText)
}

View File

@ -1,17 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver.codec
import _root_.sjsonnew.{ deserializationError, serializationError, Builder, JsonFormat, Unbuilder }
trait CommandFormats {
implicit lazy val CommandFormat: JsonFormat[sbt.internal.langserver.Command] = new JsonFormat[sbt.internal.langserver.Command] {
override def read[J](jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.internal.langserver.Command = {
deserializationError("No known implementation of Command.")
}
override def write[J](obj: sbt.internal.langserver.Command, builder: Builder[J]): Unit = {
serializationError("No known implementation of Command.")
}
}
}

View File

@ -1,29 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver.codec
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait CompletionContextFormats { self: sjsonnew.BasicJsonProtocol =>
implicit lazy val CompletionContextFormat: JsonFormat[sbt.internal.langserver.CompletionContext] = new JsonFormat[sbt.internal.langserver.CompletionContext] {
override def read[J](jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.internal.langserver.CompletionContext = {
jsOpt match {
case Some(js) =>
unbuilder.beginObject(js)
val triggerKind = unbuilder.readField[Int]("triggerKind")
val triggerCharacter = unbuilder.readField[Option[String]]("triggerCharacter")
unbuilder.endObject()
sbt.internal.langserver.CompletionContext(triggerKind, triggerCharacter)
case None =>
deserializationError("Expected JsObject but found None")
}
}
override def write[J](obj: sbt.internal.langserver.CompletionContext, builder: Builder[J]): Unit = {
builder.beginObject()
builder.addField("triggerKind", obj.triggerKind)
builder.addField("triggerCharacter", obj.triggerCharacter)
builder.endObject()
}
}
}

View File

@ -1,27 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver.codec
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait CompletionItemFormats { self: sjsonnew.BasicJsonProtocol =>
implicit lazy val CompletionItemFormat: JsonFormat[sbt.internal.langserver.CompletionItem] = new JsonFormat[sbt.internal.langserver.CompletionItem] {
override def read[J](jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.internal.langserver.CompletionItem = {
jsOpt match {
case Some(js) =>
unbuilder.beginObject(js)
val label = unbuilder.readField[String]("label")
unbuilder.endObject()
sbt.internal.langserver.CompletionItem(label)
case None =>
deserializationError("Expected JsObject but found None")
}
}
override def write[J](obj: sbt.internal.langserver.CompletionItem, builder: Builder[J]): Unit = {
builder.beginObject()
builder.addField("label", obj.label)
builder.endObject()
}
}
}

View File

@ -1,29 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver.codec
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait CompletionListFormats { self: sbt.internal.langserver.codec.CompletionItemFormats with sjsonnew.BasicJsonProtocol =>
implicit lazy val CompletionListFormat: JsonFormat[sbt.internal.langserver.CompletionList] = new JsonFormat[sbt.internal.langserver.CompletionList] {
override def read[J](jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.internal.langserver.CompletionList = {
jsOpt match {
case Some(js) =>
unbuilder.beginObject(js)
val isIncomplete = unbuilder.readField[Boolean]("isIncomplete")
val items = unbuilder.readField[Vector[sbt.internal.langserver.CompletionItem]]("items")
unbuilder.endObject()
sbt.internal.langserver.CompletionList(isIncomplete, items)
case None =>
deserializationError("Expected JsObject but found None")
}
}
override def write[J](obj: sbt.internal.langserver.CompletionList, builder: Builder[J]): Unit = {
builder.beginObject()
builder.addField("isIncomplete", obj.isIncomplete)
builder.addField("items", obj.items)
builder.endObject()
}
}
}

View File

@ -1,31 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver.codec
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait CompletionParamsFormats { self: sbt.internal.langserver.codec.TextDocumentIdentifierFormats with sbt.internal.langserver.codec.PositionFormats with sbt.internal.langserver.codec.CompletionContextFormats with sjsonnew.BasicJsonProtocol =>
implicit lazy val CompletionParamsFormat: JsonFormat[sbt.internal.langserver.CompletionParams] = new JsonFormat[sbt.internal.langserver.CompletionParams] {
override def read[J](jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.internal.langserver.CompletionParams = {
jsOpt match {
case Some(js) =>
unbuilder.beginObject(js)
val textDocument = unbuilder.readField[sbt.internal.langserver.TextDocumentIdentifier]("textDocument")
val position = unbuilder.readField[sbt.internal.langserver.Position]("position")
val context = unbuilder.readField[Option[sbt.internal.langserver.CompletionContext]]("context")
unbuilder.endObject()
sbt.internal.langserver.CompletionParams(textDocument, position, context)
case None =>
deserializationError("Expected JsObject but found None")
}
}
override def write[J](obj: sbt.internal.langserver.CompletionParams, builder: Builder[J]): Unit = {
builder.beginObject()
builder.addField("textDocument", obj.textDocument)
builder.addField("position", obj.position)
builder.addField("context", obj.context)
builder.endObject()
}
}
}

View File

@ -1,29 +0,0 @@
/**
* This code is generated using [[https://www.scala-sbt.org/contraband/ sbt-contraband]].
*/
// DO NOT EDIT MANUALLY
package sbt.internal.langserver.codec
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait TextEditFormats { self: sbt.internal.langserver.codec.RangeFormats with sjsonnew.BasicJsonProtocol =>
implicit lazy val TextEditFormat: JsonFormat[sbt.internal.langserver.TextEdit] = new JsonFormat[sbt.internal.langserver.TextEdit] {
override def read[J](jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.internal.langserver.TextEdit = {
jsOpt match {
case Some(js) =>
unbuilder.beginObject(js)
val range = unbuilder.readField[sbt.internal.langserver.Range]("range")
val newText = unbuilder.readField[String]("newText")
unbuilder.endObject()
sbt.internal.langserver.TextEdit(range, newText)
case None =>
deserializationError("Expected JsObject but found None")
}
}
override def write[J](obj: sbt.internal.langserver.TextEdit, builder: Builder[J]): Unit = {
builder.beginObject()
builder.addField("range", obj.range)
builder.addField("newText", obj.newText)
builder.endObject()
}
}
}

View File

@ -10,10 +10,10 @@ final class InitializeOption private (
private def this(token: Option[String]) = this(token, None)
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: InitializeOption => (this.token == x.token) && (this.skipAnalysis == x.skipAnalysis)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.protocol.InitializeOption".##) + token.##) + skipAnalysis.##)
}

View File

@ -11,10 +11,10 @@ abstract class JsonRpcMessage(
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: JsonRpcMessage => (this.jsonrpc == x.jsonrpc)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (17 + "sbt.internal.protocol.JsonRpcMessage".##) + jsonrpc.##)
}

View File

@ -15,10 +15,10 @@ final class JsonRpcNotificationMessage private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: JsonRpcNotificationMessage => (this.jsonrpc == x.jsonrpc) && (this.method == x.method) && (this.params == x.params)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.protocol.JsonRpcNotificationMessage".##) + jsonrpc.##) + method.##) + params.##)
}

View File

@ -17,10 +17,10 @@ final class JsonRpcRequestMessage private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: JsonRpcRequestMessage => (this.jsonrpc == x.jsonrpc) && (this.id == x.id) && (this.method == x.method) && (this.params == x.params)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.protocol.JsonRpcRequestMessage".##) + jsonrpc.##) + id.##) + method.##) + params.##)
}

View File

@ -17,10 +17,10 @@ final class JsonRpcResponseError private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: JsonRpcResponseError => (this.code == x.code) && (this.message == x.message) && (this.data == x.data)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.protocol.JsonRpcResponseError".##) + code.##) + message.##) + data.##)
}

View File

@ -18,10 +18,10 @@ final class JsonRpcResponseMessage private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: JsonRpcResponseMessage => (this.jsonrpc == x.jsonrpc) && (this.id == x.id) && (this.result == x.result) && (this.error == x.error)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (37 * (17 + "sbt.internal.protocol.JsonRpcResponseMessage".##) + jsonrpc.##) + id.##) + result.##) + error.##)
}

View File

@ -16,10 +16,10 @@ final class PortFile private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: PortFile => (this.uri == x.uri) && (this.tokenfilePath == x.tokenfilePath) && (this.tokenfileUri == x.tokenfileUri)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (37 * (17 + "sbt.internal.protocol.PortFile".##) + uri.##) + tokenfilePath.##) + tokenfileUri.##)
}

View File

@ -10,10 +10,10 @@ final class TokenFile private (
override def equals(o: Any): Boolean = o match {
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
case x: TokenFile => (this.uri == x.uri) && (this.token == x.token)
case _ => false
}
})
override def hashCode: Int = {
37 * (37 * (37 * (17 + "sbt.internal.protocol.TokenFile".##) + uri.##) + token.##)
}

Some files were not shown because too many files have changed in this diff Show More