void (@NotNull UIUtil.TextPainter painter, @NotNull @Nls String action, @Nullable String shortcut) { if (Strings.isEmpty(shortcut)) { return; } appendLine(painter, action + " " + "<shortcut>" + shortcut + "</shortcut>"); }