Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/apache/groovy
/ isLeaf
Method
isLeaf
src/main/java/groovy/util/Node.java:965–970 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
963
}
964
965
private
boolean isLeaf() {
966
for
(Object child : children()) {
967
if
(child instanceof Node)
return
false;
968
}
969
return
true;
970
}
971
972
private
boolean textIsEmptyOrNull() {
973
String t = text();
Callers
nothing calls this directly
Calls
1
children
Method · 0.95
Tested by
no test coverage detected