String (@NotNull List<? extends ActionGroup> path, @NotNull UpdateSession session) { String name = ""; for (ActionGroup group : path) { Presentation presentation = session.presentation(group); if (!presentation.isVisible()) return null; name = appendGroupName(name, group, presentation); } return StringUtil.nullize(name); }