public static RenameToIgnoredFix createRenameToIgnoreFix(@NotNull PsiVariable variable, boolean useElementNameAsSuffix) {
    if (canBeUnnamed(variable) && !VariableAccessUtils.variableIsUsed(variable, PsiUtil.getVariableCodeBlock(variable, null))) {
      return new RenameToIgnoredFix(variable, "_");
    }
    String baseName = "";
    if (useElementNameAsSuffix) {
      String elementName = variable.getName();
      if (elementName != null) {
        baseName = StringUtil.capitalize(elementName);
      }
    }
    return new RenameToIgnoredFix(variable, JavaCodeStyleManager.getInstance(variable.getProject())
      .suggestUniqueVariableName(PREFIX + baseName, variable, true));
  }
public static RenameToIgnoredFix createRenameToIgnoreFix(@NotNull PsiVariable variable, boolean useElementNameAsSuffix)