code: private Class<?> resolveJavaClass(final String fqn) throws ClassNotFoundException {
          String[] parts = fqn.split("\\.");
          if (parts.length < 2) {
              throw new JsiiException("Malformed FQN: " + fqn);
          }
  
          String moduleName = parts[0];
  
          JsonNode names = this.getClient().getModuleNames(moduleName);
          if (!names.has("java")) {
              throw new JsiiException("No java name for module " + moduleName);
          }
  
          final JsiiModule module = this.loadedModules.get(moduleName);
          if (module == null) {
              throw new JsiiException("No loaded module is named " + moduleName);
          }
          return module.resolveClass(fqn);
      }
docs: Given a jsii FQN, returns the Java class for it.
  
  @param fqn The FQN.
  
  @return The Java class name.