boolean (PsiElement[] elements, int discardCost) { if (elements.length != myElementAnchors.length) { return false; } for (int i = 0; i < myElementAnchors.length; i++) { PsiElement one = myElementAnchors[i].retrieve(); PsiElement two = elements[i]; if (one == null || two == null || !myHasher.areTreesEqual(one, two, discardCost)) { return false; } } return true; }