void (ActionOrGroup actionOrGroup, DomElementAnnotationHolder holder) { checkActionOrGroupCapitalization(holder, actionOrGroup, ActionOrGroup.TextType.TEXT); checkActionOrGroupCapitalization(holder, actionOrGroup, ActionOrGroup.TextType.DESCRIPTION); }