void (CommentTracker ct, PsiMethodCallExpression call) { if (call != null) { if (call.getParent() instanceof PsiExpressionStatement) { ct.delete(call); } else { PsiMethodCallExpression nextCall = ExpressionUtils.getCallForQualifier(call); PsiExpression qualifier = call.getMethodExpression().getQualifierExpression(); if (nextCall != null && qualifier != null) { ct.replace(nextCall, qualifier); } } } }