void (@NotNull GrAnnotationNameValuePair nameValuePair) { final PsiElement identifier = nameValuePair.getNameIdentifierGroovy(); if (identifier == null) { final PsiElement parent = nameValuePair.getParent(); if (parent instanceof GrAnnotationArgumentList) { final int count = ((GrAnnotationArgumentList)parent).getAttributes().length; if (count > 1) { myHolder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle.message("attribute.name.expected")).create(); } } } final GrAnnotationMemberValue value = nameValuePair.getValue(); if (value != null) { checkAnnotationAttributeValue(value, value); } }