PsiElement (PsiMethodCallExpression call) { PsiExpression[] args = call.getArgumentList().getExpressions(); if (args.length != 2) return null; PsiMethodCallExpression spliteratorCall = tryCast(skipParenthesizedExprDown(args[0]), PsiMethodCallExpression.class); if (spliteratorCall == null) return null; ExpressionUtils.bindCallTo(spliteratorCall, getMethodName()); CommentTracker ct = new CommentTracker(); return ct.replace(call, spliteratorCall); }