private static void deleteUsages(List<UsageInfo> usages) {
    for (UsageInfo usage : usages) {
      final PsiElement usageElement = usage.getElement();
      if (usageElement instanceof PyReferenceExpression) {
        final PsiElement parent = usageElement.getParent();
        if (parent instanceof PyCallExpression callExpression) {
          convertCallExpToRefExpr(callExpression);
        }
      }
    }
  }
private static void deleteUsages(List<UsageInfo> usages)