public static void adjustEmptyText(@NotNull JBTextField textEditor,
                                     @NotNull Predicate<JBTextField> function,
                                     @NotNull @NlsContexts.StatusText String leftText,
                                     @NotNull @NlsContexts.StatusText String rightText) {
    textEditor.putClientProperty(TextComponentEmptyText.STATUS_VISIBLE_FUNCTION, function);
    StatusText statusText = textEditor.getEmptyText();
    statusText.setShowAboveCenter(false);
    statusText.setText(leftText, SimpleTextAttributes.GRAY_ATTRIBUTES);
    statusText.appendText(false, 0, rightText, SimpleTextAttributes.GRAY_ATTRIBUTES, null);
    statusText.setFont(UIUtil.getLabelFont(UIUtil.FontSize.SMALL));
  }
public static void adjustEmptyText(@NotNull JBTextField textEditor,
                                     @NotNull Predicate<JBTextField> function,
                                     @NotNull @NlsContexts.StatusText String leftText,
                                     @NotNull @NlsContexts.StatusText String rightText)