code: public void loadModule(final Class<? extends JsiiModule> moduleClass) {
          if (!JsiiModule.class.isAssignableFrom(moduleClass)) {
              throw new JsiiException("Invalid module class "
                      + moduleClass.getName()
                      + ". It must be derived from JsiiModule");
          }
  
          JsiiModule module;
          try {
              module = moduleClass.newInstance();
          } catch (IllegalAccessException | InstantiationException e) {
              throw new JsiiException(e);
          }
  
          if (this.loadedModules.containsKey(module.getModuleName())) {
              return;
          }
  
          // Load dependencies
          for (Class<? extends JsiiModule> dep: module.getDependencies()) {
              loadModule(dep);
          }
  
          this.getClient().loadModule(module);
  
          // indicate that it was loaded
          this.loadedModules.put(module.getModuleName(), module);
      }
docs: Loads a JavaScript module into the remote jsii-server.
  No-op if the module is already loaded.
  @param moduleClass The jsii module class.