void (@NotNull GrEnumConstant enumConstant) { super.visitEnumConstant(enumConstant); final GrArgumentList argumentList = enumConstant.getArgumentList(); if (argumentList != null && PsiImplUtil.hasNamedArguments(argumentList) && !PsiImplUtil.hasExpressionArguments(argumentList)) { final PsiMethod constructor = enumConstant.resolveConstructor(); if (constructor != null) { if (!PsiUtil.isConstructorHasRequiredParameters(constructor)) { myHolder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle .message("the.usage.of.a.map.entry.expression.to.initialize.an.enum.is.currently.not.supported")).range(argumentList).create(); } } } }