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.
-
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.
-