public class ModulePackagesAttribute extends ClassFileAttribute implements IModulePackagesAttribute
NO_ATTRIBUTES| Constructor and Description |
|---|
ModulePackagesAttribute(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
Constructor for ModulePackagesAttribute.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getPackageIndices()
Answer back the array of package indices.
|
char[][] |
getPackageNames()
Answer back the names of packages.
|
int |
getPackagesCount()
Answer back the number of packages exported or opened.
|
getAttributeLength, getAttributeName, getAttributeNameIndexdoubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8Atclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeLength, getAttributeName, getAttributeNameIndexpublic ModulePackagesAttribute(byte[] classFileBytes,
IConstantPool constantPool,
int offset)
throws ClassFormatException
classFileBytes - constantPool - offset - ClassFormatExceptionpublic int getPackagesCount()
IModulePackagesAttributegetPackagesCount in interface IModulePackagesAttributepublic int[] getPackageIndices()
IModulePackagesAttributegetPackageIndices in interface IModulePackagesAttributepublic char[][] getPackageNames()
IModulePackagesAttributegetPackageNames in interface IModulePackagesAttribute