void (XPathToken token, AnnotationHolder holder) { if (XPathTokenTypes.REL_OPS.contains(token.getTokenType())) { if (token.textContains('<')) { holder.newAnnotation(HighlightSeverity.ERROR, XPathBundle.message("annotator.less.than.must.be.escaped.as.ampersand.lt.in.xslt.documents")) .withFix(new ConvertToEntityFix(token)) .withFix(new FlipOperandsFix(token)) .create(); } } }