Top Description Inners Fields Constructors Methods
com.sun.tools.classfile

public Class ModuleHashes_attribute

extends Attribute
Class Inheritance
Imports
java.io.IOException

See JVMS, section 4.8.15.

This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public final int
public final ModuleHashes_attribute.Entry[]
public final int
Inherited from com.sun.tools.classfile.Attribute:
AnnotationDefaultattribute_lengthattribute_name_indexBootstrapMethodsCharacterRangeTableCodeCompilationIDConstantValueDeprecatedEnclosingMethodExceptionsInnerClassesLineNumberTableLocalVariableTableLocalVariableTypeTableMethodParametersModuleModuleHashesModuleMainClassModulePackagesModuleResolutionModuleTargetNestHostNestMembersPermittedSubclassesRecordRuntimeInvisibleAnnotationsRuntimeInvisibleParameterAnnotationsRuntimeInvisibleTypeAnnotationsRuntimeVisibleAnnotationsRuntimeVisibleParameterAnnotationsRuntimeVisibleTypeAnnotationsSignatureSourceDebugExtensionSourceFileSourceIDStackMapStackMapTableSynthetic

Constructor Summary

AccessConstructor and Description
pack-priv
ModuleHashes_attribute(ClassReader cr, int name_index, int length)

public
ModuleHashes_attribute(ConstantPool constant_pool, int algorithm_index, ModuleHashes_attribute.Entry[] hashes_table)

public
ModuleHashes_attribute(int name_index, int algorithm_index, ModuleHashes_attribute.Entry[] hashes_table)

Method Summary

Modifier and TypeMethod and Description
public <R, D> R
accept(Attribute.Visitor<R, D> visitor, D data)

Implements abstract com.sun.tools.classfile.Attribute.accept.

private static int
Inherited from com.sun.tools.classfile.Attribute:
byteLengthgetNameread

Field Detail

algorithm_indexback to summary
public final int algorithm_index
hashes_tableback to summary
public final ModuleHashes_attribute.Entry[] hashes_table
hashes_table_lengthback to summary
public final int hashes_table_length

Constructor Detail

ModuleHashes_attributeback to summary
pack-priv ModuleHashes_attribute(ClassReader cr, int name_index, int length) throws IOException
ModuleHashes_attributeback to summary
public ModuleHashes_attribute(ConstantPool constant_pool, int algorithm_index, ModuleHashes_attribute.Entry[] hashes_table) throws ConstantPoolException
ModuleHashes_attributeback to summary
public ModuleHashes_attribute(int name_index, int algorithm_index, ModuleHashes_attribute.Entry[] hashes_table)

Method Detail

acceptback to summary
public <R, D> R accept(Attribute.Visitor<R, D> visitor, D data)

Implements abstract com.sun.tools.classfile.Attribute.accept.

Annotations
@Override
lengthback to summary
private static int length(ModuleHashes_attribute.Entry[] hashes_table)
com.sun.tools.classfile back to summary

public Class ModuleHashes_attribute.Entry

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public final byte[]
public final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hashback to summary
public final byte[] hash
module_name_indexback to summary
public final int module_name_index

Constructor Detail

Entryback to summary
pack-priv Entry(ClassReader cr) throws IOException

Method Detail

lengthback to summary
public int length()