void () { doTest(InspectionGadgetsBundle.message("extract.parameter.as.local.variable.quickfix"), "class Foo {\n" + " /**\n" + " * @param customEnumElement name of custom element of the enumeration (attribute or method) whose values should be used to match equivalent {@code String}s.\n" + " */\n" + " void foo(String customEnumElement) {\n" + " if (customEnumElement != null) {\n" + " /**/customEnumElement = customEnumElement.trim();//my end of line comment\n" + " }\n" + " }\n" + "}", "class Foo {\n" + " /**\n" + " * @param customEnumElement name of custom element of the enumeration (attribute or method) whose values should be used to match equivalent {@code String}s.\n" + " */\n" + " void foo(String customEnumElement) {\n" + " String enumElement = customEnumElement;\n" + " if (enumElement != null) {\n" + " enumElement = enumElement.trim();//my end of line comment\n" + " }\n" + " }\n" + "}"); }