use of org.intellij.lang.xpath.xslt.quickfix.FlipOperandsFix in project intellij-community by JetBrains.
the class XsltAnnotator method visitXPathToken.
@Override
public void visitXPathToken(XPathToken token) {
if (XPathTokenTypes.REL_OPS.contains(token.getTokenType())) {
if (token.textContains('<')) {
final Annotation ann = myHolder.createErrorAnnotation(token, "'<' must be escaped as '<' in XSLT documents");
ann.registerFix(new ConvertToEntityFix(token));
ann.registerFix(new FlipOperandsFix(token));
}
}
}
Aggregations