/src/main/java/org/htmlunit/html/HtmlDomTreeWalker.java
if ( filter_ != null && filter_.acceptNode( n) != NodeFilter.FILTER_REJECT) {
if ( filter_ != null && filter_.acceptNode ( n ) == NodeFilter.FILTER_REJECT ) {
return !isNodeVisible(n) && !isNodeRejected(n); } private boolean isNodeRejected(final Node n) { if (acceptNode(n) == NodeFilter.FILTER_REJECT) { return true; } <extra_id_0> return true; } return !expandEntityReferences_ && n.getParentNode() != null && n.getParentNode().getNodeType() == Node.ENTITY_REFERENCE_NODE; } private DomNode getSibling(final DomNode n, final boolean lookLeft) {