MCPcopy Create free account
hub / github.com/beanshell/beanshell / mapNodes

Method mapNodes

src/bsh/util/ClassBrowser.java:577–585  ·  view source on GitHub ↗

Map out the location of the nodes by package name. Seems like we should be able to do this while we build above... I'm tired... just going to do this.

( TreeNode node )

Source from the content-addressed store, hash-verified

575 I'm tired... just going to do this.
576 */
577 void mapNodes( TreeNode node ) {
578 addNodeMap( node );
579
580 Enumeration e = node.children();
581 while(e.hasMoreElements()) {
582 TreeNode tn = (TreeNode)e.nextElement();
583 mapNodes( tn );
584 }
585 }
586
587 /**
588 map a single node up to the root

Callers 1

makeTreeModelMethod · 0.95

Calls 3

addNodeMapMethod · 0.95
hasMoreElementsMethod · 0.80
nextElementMethod · 0.80

Tested by

no test coverage detected