void (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) { final PyArgumentList argumentList = ((PyCallExpression)parent).getArgumentList(); if (argumentList != null) argumentList.delete(); } } } }