void () { myFixture.addClass("package foo; class Foo {}"); myFixture.configureByText("A.java", """ package a; /** * {@link foo.Fo<caret>o} */ class A {} """); myFixture.enableInspections(new UnnecessaryFullyQualifiedNameInspection()); assertTrue(myFixture.filterAvailableIntentions("Replace qualified name").isEmpty()); }