Package io.ebean.enhance.asm.commons
Class ModuleHashesAttribute
java.lang.Object
io.ebean.enhance.asm.Attribute
io.ebean.enhance.asm.commons.ModuleHashesAttribute
A ModuleHashes attribute. This attribute is specific to the OpenJDK and may change in the future.
- Author:
- Remi Forax
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an emptyModuleHashesAttribute.ModuleHashesAttribute(String algorithm, List<String> modules, List<byte[]> hashes) Constructs a newModuleHashesAttribute. -
Method Summary
Methods inherited from class io.ebean.enhance.asm.Attribute
isCodeAttribute, isUnknown
-
Field Details
-
algorithm
The name of the hashing algorithm. -
modules
A list of module names. -
hashes
The hash of the modules inmodules. The two lists must have the same size.
-
-
Constructor Details
-
ModuleHashesAttribute
Constructs a newModuleHashesAttribute.- Parameters:
algorithm- the name of the hashing algorithm.modules- a list of module names.hashes- the hash of the modules in 'modules'. The two lists must have the same size.
-
ModuleHashesAttribute
public ModuleHashesAttribute()Constructs an emptyModuleHashesAttribute. This object can be passed as a prototype to theClassReader.accept(ClassVisitor, Attribute[], int)method.
-