Package org.openjdk.asmtools.jasm
Class ModuleAttr.SetStruct<T extends Module.TargetType>
java.lang.Object
org.openjdk.asmtools.jasm.ModuleAttr.SetStruct<T>
- All Implemented Interfaces:
Data
- Enclosing class:
- ModuleAttr
u2 uses_count;
u2 uses_index[uses_count];
or
u2 requires_count;
{ u2 requires_index;
u2 requires_flags;
u2 requires_version_index;
} requires[requires_count];
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final List<ModuleAttr.Triplet<ConstantPool.ConstCell,
Integer, ConstantPool.ConstCell>> (package private) final List<ConstantPool.ConstCell>
-
Constructor Summary
ConstructorsConstructorDescriptionSetStruct
(Set<T> source, Function<String, ConstantPool.ConstCell> nameFinder, Function<String, ConstantPool.ConstCell> versionFinder) -
Method Summary
-
Field Details
-
usesList
-
requiresList
-
-
Constructor Details
-
SetStruct
SetStruct(Set<T> source, Function<String, ConstantPool.ConstCell> nameFinder, Function<String, ConstantPool.ConstCell> versionFinder)
-
-
Method Details
-
write
- Specified by:
write
in interfaceData
- Throws:
IOException
-
getLength
public int getLength()
-