Move MetadataPartProvider to deserialization.common

To make it possible to use it in FIR compiler
This commit is contained in:
Ivan Kochurkin
2023-01-16 22:44:05 +01:00
committed by Space Team
parent 60900b72b7
commit 3f68694b0f
@@ -1,17 +0,0 @@
/*
* Copyright 2000-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.serialization.deserialization
interface MetadataPartProvider {
/**
* @return simple names of .kotlin_metadata files that store data for top level declarations in the package with the given FQ name
*/
fun findMetadataPackageParts(packageFqName: String): List<String>
object Empty : MetadataPartProvider {
override fun findMetadataPackageParts(packageFqName: String): List<String> = emptyList()
}
}