void () { final String setterPrefix = Messages.showInputDialog(myTable, JavaRefactoringBundle .message("constructor.with.builder.new.setter.prefix.dialog.message"), JavaRefactoringBundle .message("constructor.with.builder.rename.setters.prefix.action.name"), null, mySetterPrefix, new MySetterPrefixInputValidator()); if (setterPrefix != null) { mySetterPrefix = setterPrefix; PropertiesComponent.getInstance(myProject).setValue(SETTER_PREFIX_KEY, setterPrefix); final JavaCodeStyleManager javaCodeStyleManager = JavaCodeStyleManager.getInstance(myProject); for (String paramName : myParametersMap.keySet()) { final ParameterData data = myParametersMap.get(paramName); paramName = data.getParamName(); final String propertyName = javaCodeStyleManager.variableNameToPropertyName(paramName, VariableKind.PARAMETER); data.setSetterName(PropertyUtilBase.suggestSetterName(propertyName, setterPrefix)); } myTable.revalidate(); myTable.repaint(); } }