boolean (JavaCodeStyleManager manager, String propertyName, PsiMethod setter) { boolean shouldRenameSetterParameter; String parameterName = manager.propertyNameToVariableName(propertyName, VariableKind.PARAMETER); PsiParameter setterParameter = setter.getParameterList().getParameters()[0]; shouldRenameSetterParameter = parameterName.equals(setterParameter.getName()); return shouldRenameSetterParameter; }