question: private void fillNodesInContext ( SiteNode rootNode , List < SiteNode > nodesList ) { @ SuppressWarnings ( "unchecked" ) Enumeration < SiteNode > en = rootNode . children ( ) ; while ( en . hasMoreElements ( ) ) { SiteNode sn = en . nextElement ( ) ; if ( isInContext ( sn ) ) { nodesList . add ( sn ) ; } fillNodesInContext ( sn , nodesList ) ; } }
target:  Fills a given list with nodes in scope, searching recursively.