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

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

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

  Methods in java.lang.classfile.attributePREVIEW that return ModuleHashInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static ModuleHashInfoPREVIEW`
  ModuleHashInfo.`of(ModuleEntryPREVIEW moduleName, byte[] hash)`
  Returns a module hash description.
  `static ModuleHashInfoPREVIEW`
  ModuleHashInfo.`of(ModuleDesc moduleDesc, byte[] hash)`
  Returns a module hash description.
  Methods in java.lang.classfile.attributePREVIEW that return types with arguments of type ModuleHashInfoPREVIEW
  Modifier and Type
  Method
  Description
  `List<ModuleHashInfoPREVIEW>`
  ModuleHashesAttribute.`hashes()`
  Returns the hash information about related modules.
  Methods in java.lang.classfile.attributePREVIEW with parameters of type ModuleHashInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static ModuleHashesAttributePREVIEW`
  ModuleHashesAttribute.`of(Utf8EntryPREVIEW algorithm, ModuleHashInfoPREVIEW... hashes)`
  Returns a `ModuleHashes` attribute.
  `static ModuleHashesAttributePREVIEW`
  ModuleHashesAttribute.`of(String algorithm, ModuleHashInfoPREVIEW... hashes)`
  Returns a `ModuleHashes` attribute.
  Method parameters in java.lang.classfile.attributePREVIEW with type arguments of type ModuleHashInfoPREVIEW
  Modifier and Type
  Method
  Description
  `static ModuleHashesAttributePREVIEW`
  ModuleHashesAttribute.`of(Utf8EntryPREVIEW algorithm, List<ModuleHashInfoPREVIEW> hashes)`
  Returns a `ModuleHashes` attribute.
  `static ModuleHashesAttributePREVIEW`
  ModuleHashesAttribute.`of(String algorithm, List<ModuleHashInfoPREVIEW> hashes)`
  Returns a `ModuleHashes` attribute.