Class ModuleLayerFromSingleClassLoaderDecorator.AbstractModuleReader
java.lang.Object
net.bytebuddy.dynamic.loading.ModuleLayerFromSingleClassLoaderDecorator.AbstractModuleReader
- All Implemented Interfaces:
Closeable, AutoCloseable
- Enclosing class:
ModuleLayerFromSingleClassLoaderDecorator
public abstract static class ModuleLayerFromSingleClassLoaderDecorator.AbstractModuleReader
extends Object
implements Closeable
An abstract implementation of a module reader that provides access to dynamically generated types.
This class serves as a base for creating module readers that can handle byte code representations
of classes within a module. It implements the Closeable interface but provides an empty
implementation for the close method.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractModuleReader(Map<String, byte[]> types) Creates a new abstract module reader. -
Method Summary
-
Field Details
-
types
-
-
Constructor Details
-
AbstractModuleReader
-
-
Method Details
-
doFind
-
doList
Lists all resources in the module.- Returns:
- An empty stream as listing is not supported.
-
doOpen
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-