[FIR] Add toString to all type scopes
This commit is contained in:
+4
@@ -87,4 +87,8 @@ class JavaAnnotationSyntheticPropertiesScope(
|
||||
override fun getClassifierNames(): Set<Name> {
|
||||
return delegateScope.getClassifierNames()
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "Java annotation synthetic properties scope for $classId"
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -133,4 +133,8 @@ class JavaClassMembersEnhancementScope(
|
||||
override fun mayContainName(name: Name): Boolean {
|
||||
return useSiteMemberScope.mayContainName(name)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "Java enhancement scope for ${owner.classId}"
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -501,6 +501,10 @@ class JavaClassUseSiteMemberScope(
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "Java use site scope of $classId"
|
||||
}
|
||||
}
|
||||
|
||||
private fun FirCallableSymbol<*>.isFromBuiltInClass(session: FirSession) =
|
||||
|
||||
@@ -209,4 +209,8 @@ class JvmMappedScope(
|
||||
return Signatures(visibleMethodsByName, hiddenConstructors)
|
||||
}
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "JVM mapped scope for ${firKotlinClass.classId}"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user