void () { highlightTest(""" import org.intellij.lang.annotations.Language; class X { @Language("JavaScript") String JS_CODE = "var x;"; @Language("XPath") String XPATH_CODE = (((<warning descr="Language mismatch: Expected 'XPath', got 'JavaScript'">JS_CODE</warning>))); } """); }