org.jetbrains.kotlin.cli.common.arguments.CommonToolArgumentsCopyGenerated.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-client-embeddable Show documentation
Show all versions of kotlin-compiler-client-embeddable Show documentation
Kotlin compiler client embeddable
The newest version!
@file:Suppress("unused", "DuplicatedCode")
// DO NOT EDIT MANUALLY!
// Generated by generators/tests/org/jetbrains/kotlin/generators/arguments/GenerateCompilerArgumentsCopy.kt
// To regenerate run 'generateCompilerArgumentsCopy' task
package org.jetbrains.kotlin.cli.common.arguments
@OptIn(org.jetbrains.kotlin.utils.IDEAPluginsCompatibilityAPI::class)
fun copyCommonToolArguments(from: CommonToolArguments, to: CommonToolArguments): CommonToolArguments {
to.allWarningsAsErrors = from.allWarningsAsErrors
to.extraHelp = from.extraHelp
to.extraWarnings = from.extraWarnings
to.freeArgs = from.freeArgs
to.help = from.help
to.internalArguments = from.internalArguments
to.suppressWarnings = from.suppressWarnings
to.verbose = from.verbose
to.version = from.version
return to
}