ActionGroup () { List<AnAction> group = new ArrayList<>(); group.add(createSelectMultipleValuesAction()); if (!myLogData.getCurrentUser().isEmpty()) { group.add(new PredefinedValueAction(Collections.singletonList(VcsLogFilterObject.ME), () -> me(), true)); } group.addAll(createRecentItemsActionGroup()); return new DefaultActionGroup(group); }