public static @NotNull Function<PsiElement, String> getRenderer() {
    return element -> {
      assert element instanceof PsiExpression;
      return PsiExpressionTrimRenderer.render((PsiExpression)element);
    };
  }
public static @NotNull Function<PsiElement, String> getRenderer()