void (@NotNull GrNamedArgument namedArgument) { PsiElement parent = namedArgument.getParent(); if (!(parent instanceof GrListOrMap) || !((GrListOrMap)parent).isMap()) return; final GrArgumentLabel argumentLabel = namedArgument.getLabel(); if (argumentLabel == null) return; final GrExpression labelExpression = argumentLabel.getExpression(); if (labelExpression == null) return; if (isGStringType(labelExpression)) { registerError(argumentLabel); } }