void (XPathNumber number) { if (number.getXPathVersion() != XPathVersion.V2 && ((XPathNumberImpl)number).isScientificNotation()) { myHolder.newAnnotation(HighlightSeverity.ERROR, XPathBundle.message("annotator.error.number.literals.in.scientific.notation.are.not.allowed.in.xpath")) .create(); } super.visitXPathNumber(number); }