boolean (PsiMethodCallExpression call, PsiExpression arg) { PsiExpressionList expressionList = call.getArgumentList(); String name = call.getMethodExpression().getReferenceName(); if (!COLLECTIONS_ALL.contains(name) || !isCollectionsClassMethod(call)) return false; if (COLLECTIONS_QUERIES.contains(name) && !(call.getParent() instanceof PsiExpressionStatement)) { makeQueried(); return true; } if (COLLECTIONS_UPDATES.contains(name)) { int index = ArrayUtil.indexOf(expressionList.getExpressions(), arg); if (index == 0) { makeUpdated(); } else { makeQueried(); } return true; } return false; }