Class Opens
- java.lang.Object
-
- com.tonic.parser.attribute.module.Opens
-
public class Opens extends Object
One opens directive of a Module attribute.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOpensFlags()intgetOpensIndex()List<Integer>getOpensTo()StringtoString()
-
-
-
Constructor Detail
-
Opens
public Opens(ConstPool constPool, int opensIndex, int opensFlags, List<Integer> opensTo)
Creates an opens entry from its raw constant pool indices.- Parameters:
constPool- the pool used to resolve the package namesopensIndex- the pool index of the opened packageopensFlags- the ACC_ flags on the directiveopensTo- pool indices of the modules the package is opened to, empty for unqualified
-
-