Class ModuleDescriptionInfo

All Implemented Interfaces:
Cloneable, IElementInfo, IModule, ISourceModule

public class ModuleDescriptionInfo extends AnnotatableInfo implements ISourceModule
  • 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

      protected IJavaElement[] children
    • flags

      protected int flags
      The modifiers associated with this member.
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.classfmt.ClassFileConstants
    • sourceRangeStart

      protected int sourceRangeStart
    • sourceRangeEnd

      protected int sourceRangeEnd
  • Constructor Details

    • ModuleDescriptionInfo

      public ModuleDescriptionInfo()
  • Method Details

    • createModule

      public static ModuleDescriptionInfo createModule(ModuleDeclaration module)
    • setHandle

      protected void setHandle(IModuleDescription handle)
    • getHandle

      public IModuleDescription getHandle()
    • getChildren

      public IJavaElement[] getChildren()
      Overrides:
      getChildren in class JavaElementInfo
    • getCompilationUnit

      public ICompilationUnit getCompilationUnit()
      Specified by:
      getCompilationUnit in interface ISourceModule
    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in interface IModule
    • name

      public char[] name()
      Specified by:
      name in interface IModule
    • requires

      public IModule.IModuleReference[] requires()
      Specified by:
      requires in interface IModule
    • exports

      public IModule.IPackageExport[] exports()
      Specified by:
      exports in interface IModule
    • uses

      public char[][] uses()
      Specified by:
      uses in interface IModule
    • provides

      public IModule.IService[] provides()
      Specified by:
      provides in interface IModule
    • opens

      public IModule.IPackageExport[] opens()
      Specified by:
      opens in interface IModule
    • addCategories

      public void addCategories(IJavaElement element, char[][] elementCategories)
    • getCategories

      public Map<IJavaElement,String[]> getCategories()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringContent

      protected void toStringContent(StringBuilder buffer)
    • getModifiers

      public int getModifiers()
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.IGenericType#getModifiers()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.IGenericMethod#getModifiers()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.IGenericField#getModifiers()
    • setFlags

      protected void setFlags(int flags)
    • getDeclarationSourceEnd

      public int getDeclarationSourceEnd()
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceEnd()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceEnd()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceEnd()
    • getDeclarationSourceStart

      public int getDeclarationSourceStart()
      See Also:
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceType#getDeclarationSourceStart()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceMethod#getDeclarationSourceStart()
      • invalid reference
        org.eclipse.jdt.internal.compiler.env.ISourceField#getDeclarationSourceStart()
    • getSourceRange

      protected ISourceRange getSourceRange()
    • setSourceRangeEnd

      protected void setSourceRangeEnd(int end)
    • setSourceRangeStart

      protected void setSourceRangeStart(int start)