MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / asMap_get_find

Method asMap_get_find

src/main/java/fieldbox/boxes/Box.java:484–497  ·  view source on GitHub ↗
(String m)

Source from the content-addressed store, hash-verified

482
483 return ret;
484 }
485
486 @HiddenInAutocomplete
487 public Object asMap_get_find(String m) {
488 Dict.Prop canon = new Dict.Prop(m).toCanon();
489
490 Object ret = null;
491
492 if (!properties.has(canon) && canon.autoConstructor != null) {
493 ret = canon.autoConstructor.get();
494 if (ret != null) properties.put(canon, ret);
495
496 }
497 if (ret == null) ret = Missing.findFrom(this, canon);
498 return ret;
499 }
500

Callers 1

asMap_getMethod · 0.95

Calls 5

findFromMethod · 0.95
toCanonMethod · 0.80
getMethod · 0.65
hasMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected