private static void addScheme(final DefaultActionGroup group,
                                final ProjectInspectionProfileManager projectProfileManager,
                                final InspectionProfile current,
                                final InspectionProfile scheme) {
    group.add(new DumbAwareAction(scheme.getName(), "", scheme == current ? AllIcons.Actions.Forward : ourNotCurrentAction) {
      @Override
      public void actionPerformed(@NotNull AnActionEvent e) {
        projectProfileManager.setRootProfile(scheme.getName());
      }
    });
  }
private static void addScheme(final DefaultActionGroup group,
                                final ProjectInspectionProfileManager projectProfileManager,
                                final InspectionProfile current,
                                final InspectionProfile scheme)