void () { for (Field panel : myOtherPanels) { getField(panel).apply(); } // auto-generated name should go last apply(myOrigInjection); if (!myOtherPanels.isEmpty()) { myOrigInjection.generatePlaces(); myEditCopy.copyFrom(myOrigInjection); } }