code: public static Class<?> classFromAsmType(Type type) {
      Optional<Class<?>> maybeClass = objectTypeToClassCache.getUnchecked(type);
      if (!maybeClass.isPresent()) {
        throw new IllegalArgumentException("Could not load: " + type);
      }
      return maybeClass.get();
    }
docs: Returns the runtime class represented by the given type.
  
  @throws IllegalArgumentException if the class cannot be found. It is expected that this method
  will only be called for types that have a runtime on the compilers classpath.