Class ModuleInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo
- All Implemented Interfaces:
IBinaryInfo,IBinaryModule,IElementInfo,IModule
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModule
IModule.IModuleReference, IModule.IPackageExport, IModule.IService -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AnnotationInfo[]protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[]protected intprotected intprotected char[]protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[]protected intprotected intprotected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.ModuleReferenceInfo[]protected intprotected intprotected char[]Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModule
MODULE_INFO, MODULE_INFO_CLASS, MODULE_INFO_JAVA, NO_EXPORTS, NO_MODULE_REFS, NO_MODULES, NO_OPENS, NO_PROVIDES, NO_USES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedModuleInfo(byte[] classFileBytes, int[] offsets, int offset) -
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleInfocreateModule(byte[] classFileBytes, int[] offsets, int offset) booleanexports()intlonggetURI()inthashCode()booleanisOpen()char[]name()opens()provides()intrequires()intvoidsetName(char[] name) toString()protected voidtoStringContent(StringBuilder buffer) char[][]uses()intMethods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8AtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModule
isAutomatic, isAutoNameFromManifest
-
Field Details
-
flags
protected int flags -
requiresCount
protected int requiresCount -
exportsCount
protected int exportsCount -
usesCount
protected int usesCount -
providesCount
protected int providesCount -
opensCount
protected int opensCount -
name
protected char[] name -
version
protected char[] version -
requires
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.ModuleReferenceInfo[] requires -
exports
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[] exports -
opens
protected org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo.PackageExportInfo[] opens -
annotations
-
path
-
-
Constructor Details
-
ModuleInfo
protected ModuleInfo(byte[] classFileBytes, int[] offsets, int offset) - Parameters:
classFileBytes- byte[]offsets- int[]offset- int
-
-
Method Details
-
isOpen
-
requiresCount
public int requiresCount() -
exportsCount
public int exportsCount() -
usesCount
public int usesCount() -
providesCount
public int providesCount() -
name
-
setName
public void setName(char[] name) -
requires
-
exports
-
uses
-
provides
-
opens
-
getAnnotations
- Specified by:
getAnnotationsin interfaceIBinaryModule
-
getTagBits
public long getTagBits()- Specified by:
getTagBitsin interfaceIBinaryModule
-
createModule
- Parameters:
classFileBytes- bytes of the enclosing class fileoffsets- constant pool offsetsoffset- offset to the "Module" attribute- Returns:
- a module info initialized from the "Module" attribute, which was already detected by the caller
-
equals
-
hashCode
-
toString
-
toStringContent
-
getURI
- Specified by:
getURIin interfaceIBinaryModule
-