Package org.openjdk.asmtools.jasm
Class ModuleAttr.MapStruct<T extends Module.TargetType>
java.lang.Object
org.openjdk.asmtools.jasm.ModuleAttr.MapStruct<T>
- All Implemented Interfaces:
Data
- Enclosing class:
- ModuleAttr
u2 {exports|opens}_count;
{ u2 {exports|opens}_index;
u2 {exports|opens}_flags;
u2 {exports|opens}_to_count;
u2 {exports|opens}_to_index[{exports|opens}_to_count];
} {exports|opens}[{exports|opens}_count];
or
u2 provides_count;
{ u2 provides_index;
u2 provides_with_count;
u2 provides_with_index[provides_with_count];
} provides[provides_count];
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final List<ModuleAttr.Triplet<ConstantPool.ConstCell,
Integer, List<ConstantPool.ConstCell>>> (package private) final List<ModuleAttr.Pair<ConstantPool.ConstCell,
List<ConstantPool.ConstCell>>> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
exportsOpensList
final List<ModuleAttr.Triplet<ConstantPool.ConstCell,Integer, exportsOpensListList<ConstantPool.ConstCell>>> -
providesList
-
-
Constructor Details
-
MapStruct
MapStruct(Map<T, Set<String>> source, Function<String, ConstantPool.ConstCell> nameFinder, Function<String, ConstantPool.ConstCell> targetFinder)
-
-
Method Details
-
write
- Specified by:
write
in interfaceData
- Throws:
IOException
-
getLength
public int getLength()
-