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.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn action to createnet.bytebuddy.dynamic.loading.SimpleModuleReference. -
Method Summary
-
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 ornull.types- The map of type names to their byte representations.- Returns:
- A new simple module reference instance.
-