code: public void addModuleToExport(final String moduleName) {
  
          if (m_modulesToExport == null) {
              m_modulesToExport = new HashSet<String>();
          }
          m_modulesToExport.add(moduleName);
      }
docs: Adds a module to the modules that should be exported.
  If called at least once, the explicitly added modules will be exported
  instead of the default modules.
  
  @param moduleName the name of the module to export.