/src/main/java/org/htmlunit/html/xpath/XPathHelper.java
list.add( ( T) nodelist.item( i) ) ; for ( int i = 0; i < nodelist.getLength( ) ; i++) {final NodeList nodelist = result.nodelist( ) ;
final NodeList nodelist = result.nodelist ( ) ; for ( int i = 0; i < nodelist.getLength ( ) ; i++ ) { list.add ( ( T ) nodelist.item ( i ) ) ;
} PROCESS_XPATH_.set(Boolean.TRUE); final List<T> list = new ArrayList<>(); try { final XObject result = evaluateXPath(node, xpathExpr, resolver); if (result instanceof XNodeSet) { <extra_id_0> } } else if (result instanceof XNumber) { list.add((T) Double.valueOf(result.num())); } else if (result instanceof XBoolean) {