void (final LwContainer lwContainer, final GeneratorAdapter generator, final int componentLocal) { FormLayout formLayout = (FormLayout) lwContainer.getLayout(); generator.loadLocal(componentLocal); generator.newInstance(ourFormLayoutType); generator.dup(); generator.push(FormLayoutUtils.getEncodedColumnSpecs(formLayout)); generator.push(FormLayoutUtils.getEncodedRowSpecs(formLayout)); generator.invokeConstructor(ourFormLayoutType, ourFormLayoutConstructor); generateGroups(generator, formLayout.getRowGroups(), ourSetRowGroupsMethod); generateGroups(generator, formLayout.getColumnGroups(), ourSetColumnGroupsMethod); generator.invokeVirtual(ourContainerType, ourSetLayoutMethod); }