MCPcopy Index your code
hub / github.com/apache/groovy / buildChildrenFromClosure

Method buildChildrenFromClosure

src/main/java/groovy/util/Node.java:286–290  ·  view source on GitHub ↗
(Closure c)

Source from the content-addressed store, hash-verified

284 }
285
286 private static List<Node> buildChildrenFromClosure(Closure c) {
287 NodeBuilder b = new NodeBuilder();
288 Node newNode = (Node) b.invokeMethod("dummyNode", c);
289 return newNode.children();
290 }
291
292 /**
293 * Extension point for subclasses to override the metaclass. The default

Callers 1

appendNodesMethod · 0.95

Calls 2

childrenMethod · 0.95
invokeMethodMethod · 0.65

Tested by

no test coverage detected