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
- All Implemented Interfaces:
IClassFileAttribute
,IModuleAttribute
- Since:
- 3.14
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileAttribute
NO_ATTRIBUTES
-
Method Summary
Modifier and TypeMethodDescriptionint
Answer back the exports count.Answer back the array of exports infos of the .class file, an empty array if none.int
Answer back the module flags.char[]
Answer back the module name.int
Answer back the module name index.int
Answer back the module version index.char[]
Answer back the module version string.int
Answer back the opens count.Answer back the array of opens infos of the .class file, an empty array if none.int
Answer back the provides count.Answer back the array of provides infos of the .class file, an empty array if none.int
Answer 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.int
Answer 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, getAttributeNameIndex
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.util.IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndex
-
Method Details
-
getModuleNameIndex
public int getModuleNameIndex()Description copied from interface:IModuleAttribute
Answer back the module name index.- Specified by:
getModuleNameIndex
in interfaceIModuleAttribute
- Returns:
- the module name index
-
getModuleName
public char[] getModuleName()Description copied from interface:IModuleAttribute
Answer back the module name.- Specified by:
getModuleName
in interfaceIModuleAttribute
- Returns:
- the module name
-
getModuleFlags
public int getModuleFlags()Description copied from interface:IModuleAttribute
Answer back the module flags.- Specified by:
getModuleFlags
in interfaceIModuleAttribute
- Returns:
- the module flags
-
getModuleVersionIndex
public int getModuleVersionIndex()Description copied from interface:IModuleAttribute
Answer back the module version index.- Specified by:
getModuleVersionIndex
in interfaceIModuleAttribute
- Returns:
- the module version index
-
getModuleVersionValue
public char[] getModuleVersionValue()Description copied from interface:IModuleAttribute
Answer back the module version string.- Specified by:
getModuleVersionValue
in interfaceIModuleAttribute
- Returns:
- the module version string
-
getRequiresCount
public int getRequiresCount()Description copied from interface:IModuleAttribute
Answer back the requires count.- Specified by:
getRequiresCount
in interfaceIModuleAttribute
- Returns:
- the requires counts
-
getRequiresInfo
Description copied from interface:IModuleAttribute
Answer back the array of requires infos of the .class file, an empty array if none.- Specified by:
getRequiresInfo
in interfaceIModuleAttribute
- Returns:
- the array of requires infos of the .class file, an empty array if none
-
getExportsCount
public int getExportsCount()Description copied from interface:IModuleAttribute
Answer back the exports count.- Specified by:
getExportsCount
in interfaceIModuleAttribute
- Returns:
- the exports counts
-
getExportsInfo
Description copied from interface:IModuleAttribute
Answer back the array of exports infos of the .class file, an empty array if none.- Specified by:
getExportsInfo
in interfaceIModuleAttribute
- Returns:
- the array of exports infos of the .class file, an empty array if none
-
getOpensCount
public int getOpensCount()Description copied from interface:IModuleAttribute
Answer back the opens count.- Specified by:
getOpensCount
in interfaceIModuleAttribute
- Returns:
- the opens counts
-
getOpensInfo
Description copied from interface:IModuleAttribute
Answer back the array of opens infos of the .class file, an empty array if none.- Specified by:
getOpensInfo
in interfaceIModuleAttribute
- Returns:
- the array of opens infos of the .class file, an empty array if none
-
getUsesCount
public int getUsesCount()Description copied from interface:IModuleAttribute
Answer back the uses count.- Specified by:
getUsesCount
in interfaceIModuleAttribute
- Returns:
- the uses counts
-
getUsesIndices
public int[] getUsesIndices()Description copied from interface:IModuleAttribute
Answer back the array of uses indices of the .class file, an empty array if none.- Specified by:
getUsesIndices
in interfaceIModuleAttribute
- Returns:
- the array of uses indices of the .class file, an empty array if none
-
getUsesClassNames
public char[][] getUsesClassNames()Description copied from interface:IModuleAttribute
Answer back the array of uses class names of the .class file, an empty array if none.- Specified by:
getUsesClassNames
in 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:IModuleAttribute
Answer back the provides count.- Specified by:
getProvidesCount
in interfaceIModuleAttribute
- Returns:
- the provides counts
-
getProvidesInfo
Description copied from interface:IModuleAttribute
Answer back the array of provides infos of the .class file, an empty array if none.- Specified by:
getProvidesInfo
in interfaceIModuleAttribute
- Returns:
- the array of provides infos of the .class file, an empty array if none
-