JvmDefault: remove diagnostics related to @JvmDefault

#KT-54746
This commit is contained in:
Alexander Udalov
2023-04-22 00:13:14 +02:00
committed by Space Team
parent 3120a35a88
commit e0b5ae7781
11 changed files with 42 additions and 216 deletions
@@ -98,7 +98,7 @@ private val KTypeProjection.javaType: Type
private interface TypeImpl : Type {
// This is a copy of [Type.getTypeName] which is present on JDK 8+.
@Suppress(
"VIRTUAL_MEMBER_HIDDEN", "NON_JVM_DEFAULT_OVERRIDES_JAVA_DEFAULT"
"VIRTUAL_MEMBER_HIDDEN"
) // This is needed for cases when environment variable JDK_1_6 points to JDK 8+.
fun getTypeName(): String
}