void () { myFixture.configureByText("a.java", "class Foo {int i; ge<caret>}"); myFixture.enableInspections(new UnqualifiedFieldAccessInspection()); myFixture.complete(CompletionType.BASIC); UIUtil.dispatchAllInvocationEvents(); myFixture.checkResult(""" class Foo {int i; public int getI() { return this.i; } }"""); }