if (!(op instanceof MatchOperator))
{
return true; // visit other branches and look for MatchOperators
}
MatchOperator matchOp = (MatchOperator)op;
SQLJoin join = null;
for (int i = 0, nCount = seenObjectList.size();
i < nCount && join == null;
i += 2)
{
MatchOperator seenOp = (MatchOperator)seenObjectList.get(i);
if (seenOp.getAttribute().getSource() == matchOp.getAttribute().getSource() &&
seenOp.getExpression().equals(matchOp.getExpression()))
{
join = (SQLJoin)seenObjectList.get(i + 1);
}
}