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.ObjectgetModule(java.lang.Class<?> type)Resolves thejava.lang.Moduleof the supplied type.
-
-
-
Method Detail
-
getModule
@MaybeNull @Defaults java.lang.Object getModule(java.lang.Class<?> type)
Resolves thejava.lang.Moduleof the supplied type.- Parameters:
type- The type for which to resolve the module.- Returns:
- The type's module or
nullif the module system is not supported.
-
-