void () { myFixture.configureByText("a.java", "import java.util.ArrayList;" + "class A {" + " ArrayList<caret><? extends @Anno String[]> f;" + "}"); final int offset = BraceMatchingUtil.getMatchedBraceOffset(myFixture.getEditor(), true, myFixture.getFile()); assertEquals(72, offset); }