Interface ModuleDescription.ForLoadedModule.ModuleDescriptor.Provides

Enclosing interface:
ModuleDescription.ForLoadedModule.ModuleDescriptor

@Proxied("java.lang.module.ModuleDescriptor$Provides") public static interface ModuleDescription.ForLoadedModule.ModuleDescriptor.Provides
A proxy for interacting with java.lang.ModuleDescriptor.Provides.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the provider implementation class names for this provides declaration.
    service(Object value)
    Returns the service interface name for this provides declaration.
  • Method Details

    • service

      String service(Object value)
      Returns the service interface name for this provides declaration.
      Parameters:
      value - The java.lang.ModuleDescriptor.Provides instance.
      Returns:
      The service interface name.
    • providers

      List<String> providers(Object value)
      Returns the provider implementation class names for this provides declaration.
      Parameters:
      value - The java.lang.ModuleDescriptor.Provides instance.
      Returns:
      The provider implementation class names.