@Override
    public @NotNull String getElementText(@NotNull PsiElement element) {
        if (element instanceof KtNamedFunction function) {
          DeclarationDescriptor descriptor = ResolutionUtils.unsafeResolveToDescriptor(function, BodyResolveMode.PARTIAL);
            return DescriptorRenderer.SHORT_NAMES_IN_TYPES.render(descriptor); //NON-NLS
        }
        return super.getElementText(element);
    }
@Override
    public @NotNull String getElementText(@NotNull PsiElement element)