Class PackageVisibilityInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.PackageVisibilityInfo
- All Implemented Interfaces:
IPackageVisibilityInfo
-
Constructor Summary
ConstructorsConstructorDescriptionPackageVisibilityInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) -
Method Summary
Modifier and TypeMethodDescriptionintgetFlags()Answer back the exports/opens flags.intgetIndex()Answer back the exports/opens index.char[]Answer back the exports/opens package.int[]Answer back the array of target module indices.char[][]Answer back the array of target module names.intAnswer back the number of targets, zero if none.Methods inherited from class ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8AtModifier and TypeMethodDescriptionprotected doubledoubleAt(byte[] reference, int relativeOffset, int structOffset) protected floatfloatAt(byte[] reference, int relativeOffset, int structOffset) protected inti1At(byte[] reference, int relativeOffset, int structOffset) protected inti2At(byte[] reference, int relativeOffset, int structOffset) protected inti4At(byte[] reference, int relativeOffset, int structOffset) protected longi8At(byte[] reference, int relativeOffset, int structOffset) protected intu1At(byte[] reference, int relativeOffset, int structOffset) protected intu2At(byte[] reference, int relativeOffset, int structOffset) protected intu4At(byte[] reference, int relativeOffset, int structOffset) Returns an 32 bit integer created of 4 bytes.protected char[]utf8At(byte[] reference, int relativeOffset, int structOffset, int bytesAvailable)
-
Constructor Details
-
PackageVisibilityInfo
public PackageVisibilityInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException - Throws:
ClassFormatException
-
-
Method Details
-
getIndex
public int getIndex()Description copied from interface:IPackageVisibilityInfoAnswer back the exports/opens index.- Specified by:
getIndexin interfaceIPackageVisibilityInfo- Returns:
- the exports/opens index
-
getPackageName
public char[] getPackageName()Description copied from interface:IPackageVisibilityInfoAnswer back the exports/opens package.- Specified by:
getPackageNamein interfaceIPackageVisibilityInfo- Returns:
- the exports/opens package
-
getFlags
public int getFlags()Description copied from interface:IPackageVisibilityInfoAnswer back the exports/opens flags.- Specified by:
getFlagsin interfaceIPackageVisibilityInfo- Returns:
- the exports/opens flags
-
getTargetsCount
public int getTargetsCount()Description copied from interface:IPackageVisibilityInfoAnswer back the number of targets, zero if none.- Specified by:
getTargetsCountin interfaceIPackageVisibilityInfo- Returns:
- the number of targets, zero if none.
-
getTargetModuleIndices
public int[] getTargetModuleIndices()Description copied from interface:IPackageVisibilityInfoAnswer back the array of target module indices.- Specified by:
getTargetModuleIndicesin interfaceIPackageVisibilityInfo- Returns:
- the array of target module indices.
-
getTargetModuleNames
public char[][] getTargetModuleNames()Description copied from interface:IPackageVisibilityInfoAnswer back the array of target module names.- Specified by:
getTargetModuleNamesin interfaceIPackageVisibilityInfo- Returns:
- the array of target module names.
-