void () { doTest(InspectionGadgetsBundle.message("extract.parameter.as.local.variable.quickfix"), "class Foo {\n" + " Foo(Object o ) {\n" + " super();\n" + " if (o != null) {\n" + " /**/o = o.toString();\n" + " }\n" + " }\n" + "}", "class Foo {\n" + " Foo(Object o ) {\n" + " super();\n" + " Object object = o;\n" + " if (object != null) {\n" + " object = object.toString();\n" + " }\n" + " }\n" + "}"); }