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