Class ModuleDescriptionInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo
- All Implemented Interfaces:
Cloneable,IModule,ISourceModule
-
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 IJavaElement[]protected intThe modifiers associated with this member.protected static org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.PackageExportInfo[]protected static org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.PackageExportInfo[]protected static org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.ServiceInfo[]protected static org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.ModuleReferenceInfo[]protected static char[][]protected intprotected intFields inherited from class org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
annotations, nameEnd, nameStartFields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModule
MODULE_INFO, MODULE_INFO_CLASS, MODULE_INFO_JAVA, NO_MODULE_REFS, NO_MODULES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCategories(IJavaElement element, char[][] elementCategories)static ModuleDescriptionInfocreateModule(ModuleDeclaration module)exports()Map<IJavaElement,String[]>intintintprotected ISourceRangebooleanisOpen()char[]name()opens()provides()requires()protected voidsetFlags(int flags)protected voidsetHandle(IModuleDescription handle)protected voidsetSourceRangeEnd(int end)protected voidsetSourceRangeStart(int start)toString()protected voidtoStringContent(StringBuffer buffer)char[][]uses()Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.AnnotatableInfo
getNameRange, getNameSourceEnd, getNameSourceStart, setNameSourceEnd, setNameSourceStartMethods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JavaElementInfo
cloneMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IModule
isAutomatic, isAutoNameFromManifest
-
Field Details
-
NO_USES
protected static final char[][] NO_USES -
NO_REQUIRES
protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.ModuleReferenceInfo[] NO_REQUIRES -
NO_EXPORTS
protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.PackageExportInfo[] NO_EXPORTS -
NO_PROVIDES
protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.ServiceInfo[] NO_PROVIDES -
NO_OPENS
protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.PackageExportInfo[] NO_OPENS -
children
-
flags
protected int flagsThe modifiers associated with this member.- See Also:
ClassFileConstants
-
sourceRangeStart
protected int sourceRangeStart -
sourceRangeEnd
protected int sourceRangeEnd
-
-
Constructor Details
-
ModuleDescriptionInfo
public ModuleDescriptionInfo()
-
-
Method Details
-
createModule
-
setHandle
-
getHandle
-
getChildren
- Overrides:
getChildrenin classJavaElementInfo
-
getCompilationUnit
- Specified by:
getCompilationUnitin interfaceISourceModule
-
isOpen
public boolean isOpen() -
name
public char[] name() -
requires
-
exports
-
uses
public char[][] uses() -
provides
-
opens
-
addCategories
-
getCategories
-
toString
-
toStringContent
-
getModifiers
public int getModifiers() -
setFlags
protected void setFlags(int flags) -
getDeclarationSourceEnd
public int getDeclarationSourceEnd() -
getDeclarationSourceStart
public int getDeclarationSourceStart() -
getSourceRange
-
setSourceRangeEnd
protected void setSourceRangeEnd(int end) -
setSourceRangeStart
protected void setSourceRangeStart(int start)
-