String (@NotNull Project project, @NotNull PsiField field, @NotNull PsiCodeBlock scope) { final JavaCodeStyleManager styleManager = JavaCodeStyleManager.getInstance(project); final String propertyName = styleManager.variableNameToPropertyName(field.getName(), VariableKind.FIELD); final String localName = styleManager.propertyNameToVariableName(propertyName, VariableKind.LOCAL_VARIABLE); return CommonJavaRefactoringUtil.suggestUniqueVariableName(localName, scope, field); }