Class ModuleLayerFromSingleClassLoaderDecorator

java.lang.Object
net.bytebuddy.dynamic.loading.ModuleLayerFromSingleClassLoaderDecorator
All Implemented Interfaces:
ClassLoaderDecorator

@Enhance public class ModuleLayerFromSingleClassLoaderDecorator extends Object implements ClassLoaderDecorator
A simple implementation of a ClassLoaderDecorator that creates module layers for dynamically generated types using the Java Module System. The module information is resolved from a provided module-info class. Without such a class, the decoration is omitted.