Package net.bytebuddy.utility
Interface JavaModule.Resolver
-
- Enclosing class:
- JavaModule
@Proxied("java.lang.Class") protected static interface JavaModule.Resolver
A proxy for resolving aClass
'sjava.lang.Module
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
getModule(java.lang.Class<?> type)
Resolves thejava.lang.Module
of the supplied type.
-
-
-
Method Detail
-
getModule
@Defaults java.lang.Object getModule(java.lang.Class<?> type)
Resolves thejava.lang.Module
of the supplied type.- Parameters:
type
- The type for which to resolve the module.- Returns:
- The type's module or
null
if the module system is not supported.
-
-