private DefaultActionGroup buildGroup(Ref<? super JComponent> lastSelected) {
    return buildGroup(ContainerUtil.filter(myFragments, fragment -> fragment.getName() != null), lastSelected);
  }
private DefaultActionGroup buildGroup(Ref<? super JComponent> lastSelected)