void (@NotNull GrStringInjection injection) { if (((GrString)injection.getParent()).isPlainString()) { PsiElement lineFeed = getLineFeed(injection); if (lineFeed != null) { myHolder.newAnnotation(HighlightSeverity.ERROR, GroovyBundle.message("injection.should.not.contain.line.feeds")) .range(lineFeed) .create(); } } }