Add missing definitelyDoesNotContainName methods
This commit is contained in:
committed by
Ilya Chernikov
parent
573c60ed6b
commit
8c2baf0704
+6
@@ -21,6 +21,12 @@ class SerializationIDEResolveExtension : SerializationResolveExtension() {
|
||||
override fun getSyntheticNestedClassNames(thisDescriptor: ClassDescriptor): List<Name> =
|
||||
getIfEnabledOn(thisDescriptor) { super.getSyntheticNestedClassNames(thisDescriptor) } ?: emptyList()
|
||||
|
||||
override fun getPossibleSyntheticNestedClassNames(thisDescriptor: ClassDescriptor): List<Name>? {
|
||||
val enabled = getIfEnabledOn(thisDescriptor) { true } ?: false
|
||||
return if (enabled) super.getPossibleSyntheticNestedClassNames(thisDescriptor)
|
||||
else emptyList()
|
||||
}
|
||||
|
||||
override fun getSyntheticFunctionNames(thisDescriptor: ClassDescriptor): List<Name> =
|
||||
getIfEnabledOn(thisDescriptor) { super.getSyntheticFunctionNames(thisDescriptor) } ?: emptyList()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user