Class ModuleAttribute
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
org.aspectj.org.eclipse.jdt.internal.core.util.ModuleAttribute
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES -
Method Summary
Modifier and TypeMethodDescriptionintAnswer back the exports count.Answer back the array of exports infos of the .class file, an empty array if none.intAnswer back the module flags.char[]Answer back the module name.intAnswer back the module name index.intAnswer back the module version index.char[]Answer back the module version string.intAnswer back the opens count.Answer back the array of opens infos of the .class file, an empty array if none.intAnswer back the provides count.Answer back the array of provides infos of the .class file, an empty array if none.intAnswer back the requires count.Answer back the array of requires infos of the .class file, an empty array if none.char[][]Answer back the array of uses class names of the .class file, an empty array if none.intAnswer back the uses count.int[]Answer back the array of uses indices of the .class file, an empty array if none.Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8AtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Method Details
-
getModuleNameIndex
public int getModuleNameIndex()Description copied from interface:IModuleAttributeAnswer back the module name index.- Specified by:
getModuleNameIndexin interfaceIModuleAttribute- Returns:
- the module name index
-
getModuleName
public char[] getModuleName()Description copied from interface:IModuleAttributeAnswer back the module name.- Specified by:
getModuleNamein interfaceIModuleAttribute- Returns:
- the module name
-
getModuleFlags
public int getModuleFlags()Description copied from interface:IModuleAttributeAnswer back the module flags.- Specified by:
getModuleFlagsin interfaceIModuleAttribute- Returns:
- the module flags
-
getModuleVersionIndex
public int getModuleVersionIndex()Description copied from interface:IModuleAttributeAnswer back the module version index.- Specified by:
getModuleVersionIndexin interfaceIModuleAttribute- Returns:
- the module version index
-
getModuleVersionValue
public char[] getModuleVersionValue()Description copied from interface:IModuleAttributeAnswer back the module version string.- Specified by:
getModuleVersionValuein interfaceIModuleAttribute- Returns:
- the module version string
-
getRequiresCount
public int getRequiresCount()Description copied from interface:IModuleAttributeAnswer back the requires count.- Specified by:
getRequiresCountin interfaceIModuleAttribute- Returns:
- the requires counts
-
getRequiresInfo
Description copied from interface:IModuleAttributeAnswer back the array of requires infos of the .class file, an empty array if none.- Specified by:
getRequiresInfoin interfaceIModuleAttribute- Returns:
- the array of requires infos of the .class file, an empty array if none
-
getExportsCount
public int getExportsCount()Description copied from interface:IModuleAttributeAnswer back the exports count.- Specified by:
getExportsCountin interfaceIModuleAttribute- Returns:
- the exports counts
-
getExportsInfo
Description copied from interface:IModuleAttributeAnswer back the array of exports infos of the .class file, an empty array if none.- Specified by:
getExportsInfoin interfaceIModuleAttribute- Returns:
- the array of exports infos of the .class file, an empty array if none
-
getOpensCount
public int getOpensCount()Description copied from interface:IModuleAttributeAnswer back the opens count.- Specified by:
getOpensCountin interfaceIModuleAttribute- Returns:
- the opens counts
-
getOpensInfo
Description copied from interface:IModuleAttributeAnswer back the array of opens infos of the .class file, an empty array if none.- Specified by:
getOpensInfoin interfaceIModuleAttribute- Returns:
- the array of opens infos of the .class file, an empty array if none
-
getUsesCount
public int getUsesCount()Description copied from interface:IModuleAttributeAnswer back the uses count.- Specified by:
getUsesCountin interfaceIModuleAttribute- Returns:
- the uses counts
-
getUsesIndices
public int[] getUsesIndices()Description copied from interface:IModuleAttributeAnswer back the array of uses indices of the .class file, an empty array if none.- Specified by:
getUsesIndicesin interfaceIModuleAttribute- Returns:
- the array of uses indices of the .class file, an empty array if none
-
getUsesClassNames
public char[][] getUsesClassNames()Description copied from interface:IModuleAttributeAnswer back the array of uses class names of the .class file, an empty array if none.- Specified by:
getUsesClassNamesin interfaceIModuleAttribute- Returns:
- the array of uses class names of the .class file, an empty array if none
-
getProvidesCount
public int getProvidesCount()Description copied from interface:IModuleAttributeAnswer back the provides count.- Specified by:
getProvidesCountin interfaceIModuleAttribute- Returns:
- the provides counts
-
getProvidesInfo
Description copied from interface:IModuleAttributeAnswer back the array of provides infos of the .class file, an empty array if none.- Specified by:
getProvidesInfoin interfaceIModuleAttribute- Returns:
- the array of provides infos of the .class file, an empty array if none
-