private static @NotNull Function<? super PsiElement, String> defaultTooltipProvider(@NotNull AnAction @NotNull [] actions) {
    return new TooltipProvider(actions);
  }
private static @NotNull Function<? super PsiElement, String> defaultTooltipProvider(@NotNull AnAction @NotNull [] actions)