void (MyState state) { myState.setAppClass(state.myAppClass); myState.setTitle(state.myTitle); myState.setVendor(state.myVendor); myState.setDescription(state.myDescription); myState.setVersion(state.myVersion); myState.setWidth(state.myWidth); myState.setHeight(state.myHeight); myState.setHtmlTemplateFile(state.myHtmlTemplateFile); myState.setHtmlPlaceholderId(state.myHtmlPlaceholderId); myState.setHtmlParamFile(state.myHtmlParamFile); myState.setParamFile(state.myParamFile); myState.setUpdateMode(state.myUpdateMode); myState.setEnabledSigning(state.myEnabledSigning); myState.setSelfSigning(state.mySelfSigning); myState.setKeystore(state.myKeystore); myState.setKeypass(state.myKeypass); myState.setStorepass(state.myStorepass); myState.setAlias(state.myAlias); myState.setConvertCss2Bin(state.myConvertCss2Bin); myState.setNativeBundle(state.myNativeBundle); myState.setCustomManifestAttributes(state.myCustomManifestAttributes); myState.setIcons(state.myIcons); myState.setMsgOutputLevel(state.myMsgOutputLevel); }