Uses of Interface java.lang.classfile.attribute.ModuleProvideInfo (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.lang.classfile.attribute, interface: ModuleProvideInfo

# Uses of Interface
java.lang.classfile.attribute.ModuleProvideInfo

Packages that use ModuleProvideInfoPREVIEW
Package
Description
java.lang.classfile.attribute
Provides interfaces describing classfile attributes for the `java.lang.classfile`PREVIEW library.

- ## Uses of ModuleProvideInfoPREVIEW in java.lang.classfile.attributePREVIEW

  Methods in java.lang.classfile.attributePREVIEW that return ModuleProvideInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static ModuleProvideInfoPREVIEW`
  ModuleProvideInfo.`of(ClassEntryPREVIEW provides, ClassEntryPREVIEW... providesWith)`
  Returns a service provision description.
  `static ModuleProvideInfoPREVIEW`
  ModuleProvideInfo.`of(ClassEntryPREVIEW provides, List<ClassEntryPREVIEW> providesWith)`
  Returns a service provision description.
  `static ModuleProvideInfoPREVIEW`
  ModuleProvideInfo.`of(ClassDesc provides, ClassDesc... providesWith)`
  Returns a service provision description.
  `static ModuleProvideInfoPREVIEW`
  ModuleProvideInfo.`of(ClassDesc provides, List<ClassDesc> providesWith)`
  Returns a service provision description.
  Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type ModuleProvideInfoPREVIEW
  Modifier and Type
  Method
  Description
  `List<ModuleProvideInfoPREVIEW>`
  ModuleAttribute.`provides()`
  Returns the service implementations provided by this module.
  Methods in java.lang.classfile.attributePREVIEW with parameters of type ModuleProvideInfoPREVIEW
  Modifier and Type
  Method
  Description
  `ModuleAttribute.ModuleAttributeBuilderPREVIEW`
  ModuleAttribute.ModuleAttributeBuilder.`provides(ModuleProvideInfoPREVIEW provides)`
  Declares provision of a service