Introduce KotlinBuiltIns.isUnderKotlinPackage
Semantics is the same as in the former FunctionDescriptor.hasSubpackageOfKotlin, but it doesn't compute the FQ name of the descriptor
This commit is contained in:
+2
-2
@@ -210,8 +210,8 @@ class LazyJavaClassDescriptor(
|
||||
}
|
||||
|
||||
private fun getPurelyImplementedSupertype(): KotlinType? {
|
||||
val annotatedPurelyImplementedFqName = getPurelyImplementsFqNameFromAnnotation()?.takeIf {
|
||||
!it.isRoot && it.toUnsafe().startsWith(KotlinBuiltIns.BUILT_INS_PACKAGE_NAME)
|
||||
val annotatedPurelyImplementedFqName = getPurelyImplementsFqNameFromAnnotation()?.takeIf { fqName ->
|
||||
!fqName.isRoot && fqName.startsWith(KotlinBuiltIns.BUILT_INS_PACKAGE_NAME)
|
||||
}
|
||||
|
||||
val purelyImplementedFqName =
|
||||
|
||||
Reference in New Issue
Block a user