ModulePackagingElementState () { final ModulePackagingElementState state = new ModulePackagingElementState(); if (myModulePointer != null) { state.setModuleName(myModulePointer.getModuleName()); } return state; }