JComponent (@NotNull ActionLink link) { JPanel panel = wrapActionLinkWithoutArrow(link); if (!StringUtil.isEmptyOrSpaces(link.getText())) { panel.add(createArrow(link), BorderLayout.EAST); } return panel; }