void (@NotNull GrString gstring) { for (GrStringContent part : gstring.getContents()) { final String text = part.getText(); if (!GrStringUtil.parseStringCharacters(text, new StringBuilder(text.length()), null)) { myHolder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle.message("illegal.escape.character.in.string.literal")).range(part).create(); return; } } }