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, IElementInfo, IModule, ISourceModule
-
Nested Class Summary
Nested classes/interfaces inherited from interface IModule
IModule.IModuleReference, IModule.IPackageExport, IModule.IServiceModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IJavaElement[]protected intThe modifiers associated with this member.protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.PackageExportInfo[]protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.PackageExportInfo[]protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.ServiceInfo[]protected static final org.aspectj.org.eclipse.jdt.internal.core.ModuleDescriptionInfo.ModuleReferenceInfo[]protected static final char[][]protected intprotected intFields inherited from class AnnotatableInfo
annotations, nameEnd, nameStartModifier and TypeFieldDescriptionprotected IAnnotation[]protected intThe last position of this member's name in the its openable's buffer.protected intThe start position of this member's name in the its openable's buffer.Fields inherited from interface IModule
MODULE_INFO, MODULE_INFO_CLASS, MODULE_INFO_JAVA, NO_MODULE_REFS, NO_MODULESModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final IModule.IModuleReference[]static final IModule[] -
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(StringBuilder buffer) char[][]uses()Methods inherited from class AnnotatableInfo
getNameRange, getNameSourceEnd, getNameSourceStart, setNameSourceEnd, setNameSourceStartModifier and TypeMethodDescriptionprotected ISourceRangeintintprotected voidsetNameSourceEnd(int end) Sets the last position of this member's name, relative to its openable's source buffer.protected voidsetNameSourceStart(int start) Sets the start position of this member's name, relative to its openable's source buffer.Methods inherited from class JavaElementInfo
clone, getExtendedChildrenMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IModule
isAutomatic, isAutoNameFromManifestModifier and TypeMethodDescriptiondefault booleandefault boolean
-
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:
-
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
-
name
-
requires
-
exports
-
uses
-
provides
-
opens
-
addCategories
-
getCategories
-
toString
-
toStringContent
-
getModifiers
public int getModifiers()- See Also:
-
setFlags
protected void setFlags(int flags) -
getDeclarationSourceEnd
public int getDeclarationSourceEnd()- See Also:
-
getDeclarationSourceStart
public int getDeclarationSourceStart()- See Also:
-
getSourceRange
-
setSourceRangeEnd
protected void setSourceRangeEnd(int end) -
setSourceRangeStart
protected void setSourceRangeStart(int start)
-