@Override public boolean matches(final INode other, final Match match) { if (other instanceof BinaryOperatorExpression) { final BinaryOperatorExpression otherExpression = (BinaryOperatorExpression) other; return !otherExpression.isNull() && (otherExpression._operator == _operator || _operator == BinaryOperatorType.ANY || otherExpression._operator == BinaryOperatorType.ANY) && getLeft().matches(otherExpression.getLeft(), match) && getRight().matches(otherExpression.getRight(), match); } return false; }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof BinaryOperatorExpression) { final BinaryOperatorExpression otherExpression = (BinaryOperatorExpression) other; return !otherExpression.isNull() && (otherExpression._operator == _operator || _operator == BinaryOperatorType.ANY || otherExpression._operator == BinaryOperatorType.ANY) && getLeft().matches(otherExpression.getLeft(), match) && getRight().matches(otherExpression.getRight(), match); } return false; }
@Override public boolean matches(final INode other, final Match match) { if (other instanceof BinaryOperatorExpression) { final BinaryOperatorExpression otherExpression = (BinaryOperatorExpression) other; return !otherExpression.isNull() && (otherExpression._operator == _operator || _operator == BinaryOperatorType.ANY || otherExpression._operator == BinaryOperatorType.ANY) && getLeft().matches(otherExpression.getLeft(), match) && getRight().matches(otherExpression.getRight(), match); } return false; }