void (@NotNull GrListOrMap listOrMap) { final GroovyConstructorReference constructorReference = listOrMap.getConstructorReference(); if (constructorReference != null) { final PsiElement lBracket = listOrMap.getLBrack(); myHolder.newSilentAnnotation(HighlightSeverity.INFORMATION).range(lBracket).textAttributes(GroovySyntaxHighlighter.LITERAL_CONVERSION).create(); final PsiElement rBracket = listOrMap.getRBrack(); if (rBracket != null) { myHolder.newSilentAnnotation(HighlightSeverity.INFORMATION).range(rBracket).textAttributes(GroovySyntaxHighlighter.LITERAL_CONVERSION).create(); } } final GrNamedArgument[] namedArguments = listOrMap.getNamedArguments(); final GrExpression[] expressionArguments = listOrMap.getInitializers(); if (namedArguments.length != 0 && expressionArguments.length != 0) { myHolder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle.message("collection.literal.contains.named.argument.and.expression.items")).create(); } checkNamedArgs(namedArguments, false); }