(String p)
| 869 | if (calling == null) throw new Error(); |
| 870 | return calling.apply(this, a); |
| 871 | } |
| 872 | |
| 873 | @Override |
| 874 | public Object asMap_get(String p) { |
| 875 | T q = from.breadthFirst(from.upwards()) |
| 876 | .map(x -> x.properties.get(storageProperty)) |
| 877 | .filter(x -> x != null) |
| 878 | .filter(x -> x.containsKey(p)) |
| 879 | .findFirst() |
| 880 | .map(x -> x.get(p)) |
| 881 | .orElseGet(() -> null); |
| 882 | if (q != null) return q; |
| 883 | |
| 884 | return from.properties.computeIfAbsent(storageProperty, (k) -> autoconstructor.apply(from)) |
| 885 | .get(p); |
| 886 | } |
| 887 |
nothing calls this directly
no test coverage detected