void () { UnusedDeclarationInspection declarationInspection = new UnusedDeclarationInspection(); declarationInspection.getSharedLocalInspectionTool().LOCAL_VARIABLE = false; doTest("unusedMethodParameter/" + getTestName(true), declarationInspection); }