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