void () { myFixture.configureByText("a.java", """ class Test { /** * {@link java.l<caret>ang.Math} */ void run() { } } """); myFixture.enableInspections(new UnnecessaryFullyQualifiedNameInspection()); myFixture.launchAction(myFixture.findSingleIntention("Remove unnecessary qualification")); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResult(""" class Test { /** * {@link Math} */ void run() { } } """); }