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

Method nameAsString

src/main/java/groovy/util/Node.java:958–963  ·  view source on GitHub ↗
(Object name)

Source from the content-addressed store, hash-verified

956 }
957
958 private static String nameAsString(Object name) {
959 if (name instanceof QName qn) {
960 return qn.getLocalPart();
961 }
962 return name.toString();
963 }
964
965 private boolean isLeaf() {
966 for (Object child : children()) {

Callers 1

toMapMethod · 0.95

Calls 2

getLocalPartMethod · 0.80
toStringMethod · 0.65

Tested by

no test coverage detected