-
- All Implemented Interfaces:
public final class ModuleHashesAttribute extends AttributeInfo
Describes a ModuleHashes attribute structure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classModuleHashesAttribute.Companion
-
Field Summary
Fields Modifier and Type Field Description private IntegeralgorithmIndexprivate Array<HashEntry>hashEntriesprivate IntegerattributeNameIndexprivate final Stringname
-
Constructor Summary
Constructors Constructor Description ModuleHashesAttribute(ClassFile classFile)
-
Method Summary
Modifier and Type Method Description final IntegergetAlgorithmIndex()Constant pool index of the CONSTANT_Utf8_info structure containing the algorithm name. final UnitsetAlgorithmIndex(Integer algorithmIndex)Constant pool index of the CONSTANT_Utf8_info structure containing the algorithm name. final Array<HashEntry>getHashEntries()Constant pool index of the CONSTANT_Utf8_info structure containing the OS architecture. final UnitsetHashEntries(Array<HashEntry> hashEntries)Constant pool index of the CONSTANT_Utf8_info structure containing the OS architecture. IntegergetAttributeLength()Get the length of this attribute in bytes. -
Methods inherited from class org.gjt.jclasslib.structures.AttributeInfo
getAttributeNameIndex, getName, setAttributeNameIndex -
Methods inherited from class org.gjt.jclasslib.structures.Structure
read, write -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ModuleHashesAttribute
ModuleHashesAttribute(ClassFile classFile)
-
-
Method Detail
-
getAlgorithmIndex
final Integer getAlgorithmIndex()
Constant pool index of the CONSTANT_Utf8_info structure containing the algorithm name.
-
setAlgorithmIndex
final Unit setAlgorithmIndex(Integer algorithmIndex)
Constant pool index of the CONSTANT_Utf8_info structure containing the algorithm name.
-
getHashEntries
final Array<HashEntry> getHashEntries()
Constant pool index of the CONSTANT_Utf8_info structure containing the OS architecture.
-
setHashEntries
final Unit setHashEntries(Array<HashEntry> hashEntries)
Constant pool index of the CONSTANT_Utf8_info structure containing the OS architecture.
-
getAttributeLength
Integer getAttributeLength()
Get the length of this attribute in bytes.
-
-
-
-