Interface JavaModule.Resolver

Enclosing class:
JavaModule

@Proxied("java.lang.Class") protected static interface JavaModule.Resolver
A proxy for resolving a Class's java.lang.Module.
  • Method Summary

    Modifier and Type
    Method
    Description
    getModule(Class<?> type)
    Resolves the java.lang.Module of the supplied type.
  • Method Details

    • getModule

      @MaybeNull @Defaults Object getModule(Class<?> type)
      Resolves the java.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.