void (AnActionEvent e, @NotNull State state) { Object object = getUserObject(e); if (object == null) return; if (state != State.NOT_SELECTED) { myViewer.includeChange(object); } else { myViewer.excludeChange(object); } }