void () { doTest( InspectionGadgetsBundle.message("extract.parameter.as.local.variable.quickfix"), "class X {\n" + " void m(String s) {\n" + " /**/s = \"hello\";//end of line comment\n" + " System.out.println(s);\n" + " }\n" + "}", "class X {\n" + " void m(String s) {\n" + " String hello = \"hello\";//end of line comment\n" + " System.out.println(hello);\n" + " }\n" + "}" ); }