String (String canonicalName, PsiNamedElement psiVariable) { final JavaCodeStyleManager codeStyleManager = JavaCodeStyleManager.getInstance(psiVariable.getProject()); final String variableName = codeStyleManager.propertyNameToVariableName(canonicalName, codeStyleManager.getVariableKind((PsiVariable)psiVariable)); if (myToUnpluralize.contains(psiVariable)) return StringUtil.pluralize(variableName); return variableName; }