void (@NotNull DefaultActionGroup group) { group.addSeparator(); group.add(new ExcludeFromCompileAction(myProject) { @Override protected @Nullable VirtualFile getFile() { return getSelectedFile(); } }); group.add(new SuppressJavacWarningsAction()); group.add(new SuppressJavacWarningForClassAction()); ActionGroup popupGroup = (ActionGroup)ActionManager.getInstance().getAction(IdeActions.GROUP_COMPILER_ERROR_VIEW_POPUP); if (popupGroup != null) { for (AnAction action : popupGroup.getChildren(null)) { group.add(action); } } }