boolean matches = true;
for (int i = nodes.length - 2; i >= 0 && matches; --i) {
</BUG>
expression = getGroup(expression);
<BUG>if (expression == null || !testLabelMatches(expression, nodes[i])) {
matches = false;</BUG>
}
}
if (matches) {
locations.add(new PsiLocation<PsiElement>(project, element));

boolean matches = true;
for (int i = nodes.size() - 2; i >= 0 && matches; --i) {
expression = getGroup(expression);
if (expression == null || !nodes.get(i).equals(getTestLabel(expression))) {
matches = false;
}
}
if (matches) {
locations.add(new PsiLocation<PsiElement>(project, element));
