void () { //noinspection JavadocDeclaration myFixture.configureByText("Test.java", """ class Test { /** * @param <error descr="Cannot resolve symbol 'hello'"><caret>hello</error> hi */ void method(String p1, String p2) {} } """); myFixture.checkHighlighting(); IntentionAction action = myFixture.findSingleIntention("Change to ..."); myFixture.launchAction(action); myFixture.checkResult(""" class Test { /** * @param p1 hi */ void method(String p1, String p2) {} } """); }