boolean (List<PsiReferenceExpression> references, PsiMethodCallExpression commonPutCall) { for (PsiReferenceExpression reference : references) { PsiMethodCallExpression putCall = findPutMethodParent(reference); if (putCall != commonPutCall) { return false; } } return true; }