void (final LwContainer lwContainer, final GeneratorAdapter generator, final int componentLocal) { generator.loadLocal(componentLocal); FlowLayout flowLayout = (FlowLayout) lwContainer.getLayout(); generator.newInstance(ourFlowLayoutType); generator.dup(); generator.push(flowLayout.getAlignment()); generator.push(flowLayout.getHgap()); generator.push(flowLayout.getVgap()); generator.invokeConstructor(ourFlowLayoutType, ourConstructor); generator.invokeVirtual(ourContainerType, ourSetLayoutMethod); }