void () { inspection.getSharedLocalInspectionTool().setCheckParameterExcludingHierarchy(true); doTest(); assertNotNull(myFixture.getAvailableIntention("Rename 'p' to 'ignoredP'")); assertNotNull(myFixture.getAvailableIntention("Do not highlight parameters for inherited methods")); }