void (@NotNull KtSimpleNameExpression expression) { DeclarationDescriptor descriptor = bindingContext.get(BindingContext.REFERENCE_TARGET, expression); if (descriptor == null) return; PsiElement declaration = DescriptorToSourceUtils.descriptorToDeclaration(descriptor); if (declaration == null) return; if (isProperty(descriptor, declaration) || isCallable(descriptor, declaration, expression)) { processDeclaration(expression, declaration); } }