AbstractAddGroup (boolean fromPopup) { return new AbstractAddGroup(getAddText()) { @Override public AnAction @NotNull [] getChildren(@Nullable final AnActionEvent e) { return CreateNewLibraryAction.createActionOrGroup(getAddText(), BaseLibrariesConfigurable.this, myProject); } }; }