File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1192,7 +1192,7 @@ open class KotlinUsesExtractor(
11921192 f.parentClassOrNull?.let { parentClass ->
11931193 getJavaEquivalentClass(parentClass)?.let { javaClass ->
11941194 if (javaClass != parentClass) {
1195- val jvmName = getSpecialJvmName (f) ? : f.name.asString()
1195+ val jvmName = getJvmName (f) ? : f.name.asString()
11961196 // Look for an exact type match...
11971197 javaClass.declarations.findSubType<IrFunction > { decl ->
11981198 decl.name.asString() == jvmName &&
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private val specialFunctions = mapOf(
5757
5858private val specialFunctionShortNames = specialFunctions.keys.map { it.functionName }.toSet()
5959
60- fun getSpecialJvmName (f : IrFunction ): String? {
60+ private fun getSpecialJvmName (f : IrFunction ): String? {
6161 if (specialFunctionShortNames.contains(f.name) && f is IrSimpleFunction ) {
6262 f.allOverriddenIncludingSelf().forEach { overriddenFunc ->
6363 overriddenFunc.parentClassOrNull?.fqNameWhenAvailable?.let { parentFqName ->
You can’t perform that action at this time.
0 commit comments