private static String getParamName(PsiParameter param, PsiElement originalPosition) {
    return JavaCodeStyleManager.getInstance(originalPosition.getProject()).suggestUniqueVariableName(
      param.getName(), originalPosition, false);
  }
private static String getParamName(PsiParameter param, PsiElement originalPosition)