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(
1192
1192
f.parentClassOrNull?.let { parentClass ->
1193
1193
getJavaEquivalentClass(parentClass)?.let { javaClass ->
1194
1194
if (javaClass != parentClass) {
1195
- val jvmName = getSpecialJvmName (f) ? : f.name.asString()
1195
+ val jvmName = getJvmName (f) ? : f.name.asString()
1196
1196
// Look for an exact type match...
1197
1197
javaClass.declarations.findSubType<IrFunction > { decl ->
1198
1198
decl.name.asString() == jvmName &&
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private val specialFunctions = mapOf(
57
57
58
58
private val specialFunctionShortNames = specialFunctions.keys.map { it.functionName }.toSet()
59
59
60
- fun getSpecialJvmName (f : IrFunction ): String? {
60
+ private fun getSpecialJvmName (f : IrFunction ): String? {
61
61
if (specialFunctionShortNames.contains(f.name) && f is IrSimpleFunction ) {
62
62
f.allOverriddenIncludingSelf().forEach { overriddenFunc ->
63
63
overriddenFunc.parentClassOrNull?.fqNameWhenAvailable?.let { parentFqName ->
You can’t perform that action at this time.
0 commit comments