org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArgumentsCopyGenerated.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-embeddable Show documentation
Show all versions of kotlin-compiler-embeddable Show documentation
the Kotlin compiler embeddable
@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 copyCommonCompilerArguments(from: CommonCompilerArguments, to: CommonCompilerArguments): CommonCompilerArguments {
copyCommonToolArguments(from, to)
to.allowAnyScriptsInSourceRoots = from.allowAnyScriptsInSourceRoots
to.allowKotlinPackage = from.allowKotlinPackage
to.apiVersion = from.apiVersion
to.autoAdvanceApiVersion = from.autoAdvanceApiVersion
to.autoAdvanceLanguageVersion = from.autoAdvanceLanguageVersion
to.checkPhaseConditions = from.checkPhaseConditions
to.checkStickyPhaseConditions = from.checkStickyPhaseConditions
to.commonSources = from.commonSources?.copyOf()
to.contextReceivers = from.contextReceivers
to.disableDefaultScriptingPlugin = from.disableDefaultScriptingPlugin
to.disablePhases = from.disablePhases?.copyOf()
to.dontWarnOnErrorSuppression = from.dontWarnOnErrorSuppression
to.dumpDirectory = from.dumpDirectory
to.dumpOnlyFqName = from.dumpOnlyFqName
to.dumpPerf = from.dumpPerf
to.enableBuilderInference = from.enableBuilderInference
to.enableSignatureClashChecks = from.enableSignatureClashChecks
to.expectActualClasses = from.expectActualClasses
to.experimental = from.experimental?.copyOf()
to.explicitApi = from.explicitApi
to.extendedCompilerChecks = from.extendedCompilerChecks
to.fragmentRefines = from.fragmentRefines?.copyOf()
to.fragmentSources = from.fragmentSources?.copyOf()
to.fragments = from.fragments?.copyOf()
to.ignoreConstOptimizationErrors = from.ignoreConstOptimizationErrors
to.incrementalCompilation = from.incrementalCompilation
to.inferenceCompatibility = from.inferenceCompatibility
to.inlineClasses = from.inlineClasses
to.intellijPluginRoot = from.intellijPluginRoot
to.kotlinHome = from.kotlinHome
to.languageVersion = from.languageVersion
to.legacySmartCastAfterTry = from.legacySmartCastAfterTry
to.listPhases = from.listPhases
to.metadataKlib = from.metadataKlib
to.metadataVersion = from.metadataVersion
to.multiPlatform = from.multiPlatform
to.newInference = from.newInference
to.noCheckActual = from.noCheckActual
to.noInline = from.noInline
to.normalizeAbsolutePath = from.normalizeAbsolutePath
to.optIn = from.optIn?.copyOf()
to.phasesToDump = from.phasesToDump?.copyOf()
to.phasesToDumpAfter = from.phasesToDumpAfter?.copyOf()
to.phasesToDumpBefore = from.phasesToDumpBefore?.copyOf()
to.phasesToValidate = from.phasesToValidate?.copyOf()
to.phasesToValidateAfter = from.phasesToValidateAfter?.copyOf()
to.phasesToValidateBefore = from.phasesToValidateBefore?.copyOf()
to.pluginClasspaths = from.pluginClasspaths?.copyOf()
to.pluginConfigurations = from.pluginConfigurations?.copyOf()
to.pluginOptions = from.pluginOptions?.copyOf()
to.profilePhases = from.profilePhases
to.progressiveMode = from.progressiveMode
to.relativePathBases = from.relativePathBases?.copyOf()
to.renderInternalDiagnosticNames = from.renderInternalDiagnosticNames
to.reportAllWarnings = from.reportAllWarnings
to.reportOutputFiles = from.reportOutputFiles
to.reportPerf = from.reportPerf
to.script = from.script
to.selfUpperBoundInference = from.selfUpperBoundInference
to.skipMetadataVersionCheck = from.skipMetadataVersionCheck
to.skipPrereleaseCheck = from.skipPrereleaseCheck
to.suppressApiVersionGreaterThanLanguageVersionError = from.suppressApiVersionGreaterThanLanguageVersionError
to.suppressVersionWarnings = from.suppressVersionWarnings
to.unrestrictedBuilderInference = from.unrestrictedBuilderInference
to.useExperimental = from.useExperimental?.copyOf()
to.useFirExtendedCheckers = from.useFirExtendedCheckers
to.useFirFakeOverrideBuilder = from.useFirFakeOverrideBuilder
to.useFirIC = from.useFirIC
to.useFirLT = from.useFirLT
to.useK2 = from.useK2
to.verbosePhases = from.verbosePhases?.copyOf()
return to
}