transient srecord noeq G22NetworkInstance(G22Network network) { new Map elementsByIdentifier; new Map elementsByBlueprint; void init(G22Utils g22utils) { for (e : network.elements) { O instance = e.makeInstance(g22utils); if (instance != null) { elementsByBlueprint.put(e, instance); mapPut(elementsByIdentifier, e.identifier(), instance); } } } }