void () { myFixture.enableInspections(new UnnecessaryFullyQualifiedNameInspection()); myFixture.launchAction(myFixture.findSingleIntention("Replace qualified name with import")); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); }