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

org.jetbrains.dokka.analysis.resolve.CommonKlibModuleInfo.kt Maven / Gradle / Ivy

Go to download

Dokka is an API documentation engine for Kotlin and Java, performing the same function as Javadoc for Java

There is a newer version: 1.8.20
Show newest version
package org.jetbrains.dokka.analysis.resolve

import org.jetbrains.kotlin.analyzer.ModuleInfo
import org.jetbrains.kotlin.analyzer.common.CommonPlatformAnalyzerServices
import org.jetbrains.kotlin.library.KotlinLibrary
import org.jetbrains.kotlin.name.Name
import org.jetbrains.kotlin.platform.CommonPlatforms
import org.jetbrains.kotlin.platform.TargetPlatform
import org.jetbrains.kotlin.resolve.PlatformDependentAnalyzerServices

internal class CommonKlibModuleInfo(
    override val name: Name,
    val kotlinLibrary: KotlinLibrary,
    private val dependOnModules: List
) : ModuleInfo {
    override fun dependencies(): List = dependOnModules

    override fun dependencyOnBuiltIns(): ModuleInfo.DependencyOnBuiltIns = ModuleInfo.DependencyOnBuiltIns.LAST

    override val platform: TargetPlatform
        get() = CommonPlatforms.defaultCommonPlatform

    override val analyzerServices: PlatformDependentAnalyzerServices
        get() = CommonPlatformAnalyzerServices
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy