Interface ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleReference

Enclosing class:
ModuleLayerFromSingleClassLoaderDecorator

@Proxied("net.bytebuddy.dynamic.loading.SimpleModuleReference") protected static interface ModuleLayerFromSingleClassLoaderDecorator.SimpleModuleReference
A proxy for the dynamically generated SimpleModuleReference type.
  • Method Details

    • newInstance

      @IsConstructor Object newInstance(@Proxied("java.lang.module.ModuleDescriptor") Object moduleDescriptor, @MaybeNull URI location, Map<String,byte[]> types)
      Creates a new instance of the simple module reference.
      Parameters:
      moduleDescriptor - The module descriptor.
      location - The module location URI or null.
      types - The map of type names to their byte representations.
      Returns:
      A new simple module reference instance.