KT-64808 [stubs] Small refactoring of CallableClsStubBuilder
Rename `shouldSkip` to `mustNotBeWrittenToStubs`, so it looks more in line with `mustNotBeWrittenToDecompiledText` in the decompiler
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ object ByDescriptorIndexer {
|
||||
return classOrObject?.primaryConstructor ?: classOrObject
|
||||
}
|
||||
|
||||
if ((original as? CallableMemberDescriptor)?.mustNotBeWrittenToDecompiledText() == true &&
|
||||
if (original is CallableMemberDescriptor && original.mustNotBeWrittenToDecompiledText() &&
|
||||
original.containingDeclaration is ClassDescriptor
|
||||
) {
|
||||
return getDeclarationForDescriptor(original.containingDeclaration, file)
|
||||
|
||||
Reference in New Issue
Block a user