AddingAllTerminal (TerminalBlock tb, PsiMethodCallExpression call) { if (tb.getCountExpression() != null) return null; if (COLLECTIONS_ADD_ALL.test(call)) { PsiExpression[] args = call.getArgumentList().getExpressions(); if (args.length < 2) return null; return createAddAll(tb, call, args[0]); } if (COLLECTION_ADD_ALL.test(call)) { return createAddAll(tb, call, call.getMethodExpression().getQualifierExpression()); } return null; }