code: @Nullable
      public static Class<?> findClass(ScriptModule module, String className) {
          Set<Class<?>> classes = module.getLoadedClasses();
          Class<?> targetClass = null;
          for (Class<?> clazz : classes) {
              if (clazz.getName().equals(className)) {
                  targetClass = clazz;
                  break;
              }
          }
  
          return targetClass;
      }
docs: Find a class in the module that matches the given className
  
  @param module the script module to search
  @param className the class name in dotted form.
  @return the found class, or null.