Interface ModuleDescription.ForLoadedModule.ModuleDescriptor.Requires

Enclosing interface:
ModuleDescription.ForLoadedModule.ModuleDescriptor

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

    Modifier and Type
    Method
    Description
    Set<Enum<?>>
    Returns the modifiers of the requires declaration.
    name(Object value)
    Returns the name of the required module.
    Returns the raw compiled version of the required module.
  • Method Details

    • name

      String name(Object value)
      Returns the name of the required module.
      Parameters:
      value - The java.lang.ModuleDescriptor.Requires instance.
      Returns:
      The name of the required module.
    • modifiers

      Set<Enum<?>> modifiers(Object value)
      Returns the modifiers of the requires declaration.
      Parameters:
      value - The java.lang.ModuleDescriptor.Requires instance.
      Returns:
      The modifiers of the requires declaration.
    • rawCompiledVersion

      Object rawCompiledVersion(Object value)
      Returns the raw compiled version of the required module.
      Parameters:
      value - The java.lang.ModuleDescriptor.Requires instance.
      Returns:
      The raw compiled version as an Optional.