File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ open class KotlinUsesExtractor(
67
67
TypeResult (fakeKotlinType(), " " , " " )
68
68
)
69
69
70
- @OptIn(kotlin.ExperimentalStdlibApi ::class ) // Annotation required by kotlin versions < 1.5
71
70
fun extractFileClass (f : IrFile ): Label <out DbClass > {
72
71
val pkg = f.fqName.asString()
73
72
val jvmName = getFileClassName(f)
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import org.jetbrains.kotlin.load.kotlin.JvmPackagePartSource
22
22
// for `that`.
23
23
private fun getName (d : IrDeclarationWithName ) = (d as ? IrAnnotationContainer )?.let { getJvmName(it) } ? : d.name.asString()
24
24
25
+ @OptIn(ExperimentalStdlibApi ::class ) // Annotation required by kotlin versions < 1.5
25
26
fun getFileClassName (f : IrFile ) =
26
27
getJvmName(f) ? :
27
28
((f.fileEntry.name.replaceFirst(Regex (""" .*[/\\]""" ), " " )
You can’t perform that action at this time.
0 commit comments