void (final LwContainer lwContainer, final GeneratorAdapter generator, final int componentLocal) { generator.loadLocal(componentLocal); generator.newInstance(myLayoutType); generator.dup(); generator.push(Utils.getHGap(lwContainer.getLayout())); generator.push(Utils.getVGap(lwContainer.getLayout())); generator.invokeConstructor(myLayoutType, ourConstructor); generator.invokeVirtual(ourContainerType, ourSetLayoutMethod); }