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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getModule​(java.lang.Class<?> type)
      Resolves the java.lang.Module of the supplied type.
    • Method Detail

      • getModule

        @MaybeNull
        @Defaults
        java.lang.Object getModule​(java.lang.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.