Class Exports
- java.lang.Object
-
- com.tonic.parser.attribute.module.Exports
-
public class Exports extends Object
Represents an exports entry in the Module attribute.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetExportsFlags()intgetExportsIndex()List<Integer>getExportsTo()StringtoString()
-
-
-
Constructor Detail
-
Exports
public Exports(ConstPool constPool, int exportsIndex, int exportsFlags, List<Integer> exportsTo)
Creates an exports entry over raw constant-pool indices.- Parameters:
constPool- pool used to resolve the package namesexportsIndex- CONSTANT_Package index of the exported packageexportsFlags- the ACC_ flags on the entryexportsTo- CONSTANT_Module indices of the targeted modules, empty when unqualified
-
-