void () { PlatformTestUtil.startPerformanceTest(getTestName(false), 800, () -> { PsiFile file = createDummyFile("a.java", "class C { { " + StringUtil.repeat("obj.", 100) + "foo } }"); PsiReference ref = file.findReferenceAt(file.getText().indexOf("foo")); assertNull(ref.resolve()); }).assertTiming(); }