org.jetbrains.kotlin.library.metadata.KlibMetadataDeserializedPackageFragmentsFactory.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-util-klib-metadata Show documentation
Show all versions of kotlin-util-klib-metadata Show documentation
Common klib metadata reader and writer
package org.jetbrains.kotlin.library.metadata
import org.jetbrains.kotlin.descriptors.ModuleDescriptor
import org.jetbrains.kotlin.descriptors.PackageFragmentDescriptor
import org.jetbrains.kotlin.library.KotlinLibrary
import org.jetbrains.kotlin.serialization.deserialization.DeserializationConfiguration
import org.jetbrains.kotlin.storage.StorageManager
interface KlibMetadataDeserializedPackageFragmentsFactory {
fun createDeserializedPackageFragments(
library: KotlinLibrary,
packageFragmentNames: List,
moduleDescriptor: ModuleDescriptor,
packageAccessedHandler: PackageAccessHandler?,
storageManager: StorageManager,
configuration: DeserializationConfiguration
): List
fun createCachedPackageFragments(
packageFragments: List,
moduleDescriptor: ModuleDescriptor,
storageManager: StorageManager
): List
}