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

org.jetbrains.kotlin.cli.common.arguments.K2MetadataCompilerArgumentsCopyGenerated.kt Maven / Gradle / Ivy

There is a newer version: 2.1.0-RC
Show 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 copyK2MetadataCompilerArguments(from: K2MetadataCompilerArguments, to: K2MetadataCompilerArguments): K2MetadataCompilerArguments {
    copyCommonCompilerArguments(from, to)

    to.classpath = from.classpath
    to.destination = from.destination
    to.enabledInJps = from.enabledInJps
    to.friendPaths = from.friendPaths?.copyOf()
    to.legacyMetadataJar = from.legacyMetadataJar
    to.moduleName = from.moduleName
    to.refinesPaths = from.refinesPaths?.copyOf()

    return to
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy