Forbid setting both onQualifiers and onlyOnQualifiers