@Override public boolean dynamicMatchCommunity() { return _left.dynamicMatchCommunity() || _right.dynamicMatchCommunity(); }
@Override protected boolean matchesSafely(CommunityHalfExpr item, Description mismatchDescription) { if (!item.matches(_communityHalf)) { mismatchDescription.appendText( String.format("CommunityHalfExpr: '%s' did not match: %d", item, _communityHalf)); return false; } return true; } }