示例#1
0
 /**
  * Adds to <code>result</code> the end point nodes (nodes that specify a module name) for this
  * node and all of the child nodes.
  *
  * @param result The collection that the end point nodes will be added to
  */
 public void gatherEndpoints(Collection<HasNode> result) {
   if (nodeName != null && nodeName.length() > 0) {
     result.add(this);
   }
   if (trueNode != null) {
     trueNode.gatherEndpoints(result);
   }
   if (falseNode != null) {
     falseNode.gatherEndpoints(result);
   }
 }