void () { PlatformTestUtil.startPerformanceTest("200 unrelated methods", 20000, () -> { StringBuilder text = new StringBuilder("import lombok.Getter; import lombok.Setter; @interface Tolerate{} class Foo {"); for (int i = 0; i < 200; i++) { text.append("@Getter @Setter int bar").append(i).append(";"); } text.append("}"); myFixture.addClass(text.toString()); StringBuilder barText = new StringBuilder("class Bar {void m(Foo foo){"); for (int i = 0; i < 200; i++) { barText.append("foo.setBar").append(i).append("(0);\n"); } barText.append("}}"); myFixture.configureByText("Bar.java", barText.toString()); myFixture.checkHighlighting(); }) .assertTiming(); }