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