@ Override public boolean isLeaf ( Object nodeObj ) { if ( debugger == null ) { return true ; } VariableNode node = ( VariableNode ) nodeObj ; return children ( node ) . length == 0 ; }
Returns whether the given node is a leaf node .