public static void rename(UsageInfo info, String newName) {
    if (info.getElement() == null) return;
    PsiReference ref = info.getReference();
    if (ref == null) return;
    ref.handleElementRename(newName);
  }
public static void rename(UsageInfo info, String newName)