public class ModuleInfo extends ClassFileStruct implements IBinaryModule
IModule.IModuleReference, IModule.IPackageExport, IModule.IService| Modifier and Type | Field and Description |
|---|---|
protected AnnotationInfo[] |
annotations |
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[] |
exports |
protected int |
exportsCount |
protected int |
flags |
protected char[] |
name |
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[] |
opens |
protected int |
opensCount |
protected int |
providesCount |
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.ModuleReferenceInfo[] |
requires |
protected int |
requiresCount |
protected int |
usesCount |
protected char[] |
version |
MODULE_INFO, MODULE_INFO_CLASS, MODULE_INFO_JAVA, NO_EXPORTS, NO_MODULE_REFS, NO_MODULES, NO_OPENS, NO_PROVIDES, NO_USES| Modifier | Constructor and Description |
|---|---|
protected |
ModuleInfo(byte[] classFileBytes,
int[] offsets,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
static ModuleInfo |
createModule(byte[] classFileBytes,
int[] offsets,
int offset) |
boolean |
equals(java.lang.Object o) |
IModule.IPackageExport[] |
exports() |
int |
exportsCount() |
IBinaryAnnotation[] |
getAnnotations() |
long |
getTagBits() |
int |
hashCode() |
boolean |
isOpen() |
char[] |
name() |
IModule.IPackageExport[] |
opens() |
IModule.IService[] |
provides() |
int |
providesCount() |
IModule.IModuleReference[] |
requires() |
int |
requiresCount() |
void |
setName(char[] name) |
java.lang.String |
toString() |
protected void |
toStringContent(java.lang.StringBuffer buffer) |
char[][] |
uses() |
int |
usesCount() |
doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8Atclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreateAutomatic, createAutomatic, isAutomatic, isAutoNameFromManifestprotected int flags
protected int requiresCount
protected int exportsCount
protected int usesCount
protected int providesCount
protected int opensCount
protected char[] name
protected char[] version
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.ModuleReferenceInfo[] requires
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[] exports
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[] opens
protected AnnotationInfo[] annotations
protected ModuleInfo(byte[] classFileBytes,
int[] offsets,
int offset)
classFileBytes - byte[]offsets - int[]offset - intpublic int requiresCount()
public int exportsCount()
public int usesCount()
public int providesCount()
public void setName(char[] name)
public IModule.IModuleReference[] requires()
public IModule.IPackageExport[] exports()
public IModule.IService[] provides()
public IModule.IPackageExport[] opens()
public IBinaryAnnotation[] getAnnotations()
getAnnotations in interface IBinaryModulepublic long getTagBits()
getTagBits in interface IBinaryModulepublic static ModuleInfo createModule(byte[] classFileBytes, int[] offsets, int offset)
classFileBytes - bytes of the enclosing class fileoffsets - constant pool offsetsoffset - offset to the "Module" attributepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected void toStringContent(java.lang.StringBuffer buffer)