void () { highlightTest(""" import org.intellij.lang.annotations.Language; class X { void test() { String javaCode = "class X {<error descr="'}' expected">"</error>; foo(javaCode); } \s native void foo(@Language("JAVA") String str); }"""); }