java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ModuleInfo
Alle implementierten Schnittstellen:
IBinaryModule, IModule

public class ModuleInfo extends ClassFileStruct implements IBinaryModule
  • Felddetails

    • 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

      protected AnnotationInfo[] annotations
    • path

      public URI path
  • Konstruktordetails

    • ModuleInfo

      protected ModuleInfo(byte[] classFileBytes, int[] offsets, int offset)
      Parameter:
      classFileBytes - byte[]
      offsets - int[]
      offset - int
  • Methodendetails

    • isOpen

      public boolean isOpen()
      Angegeben von:
      isOpen in Schnittstelle IModule
    • requiresCount

      public int requiresCount()
    • exportsCount

      public int exportsCount()
    • usesCount

      public int usesCount()
    • providesCount

      public int providesCount()
    • name

      public char[] name()
      Angegeben von:
      name in Schnittstelle IModule
    • setName

      public void setName(char[] name)
    • requires

      public IModule.IModuleReference[] requires()
      Angegeben von:
      requires in Schnittstelle IModule
    • exports

      public IModule.IPackageExport[] exports()
      Angegeben von:
      exports in Schnittstelle IModule
    • uses

      public char[][] uses()
      Angegeben von:
      uses in Schnittstelle IModule
    • provides

      public IModule.IService[] provides()
      Angegeben von:
      provides in Schnittstelle IModule
    • opens

      public IModule.IPackageExport[] opens()
      Angegeben von:
      opens in Schnittstelle IModule
    • getAnnotations

      public IBinaryAnnotation[] getAnnotations()
      Angegeben von:
      getAnnotations in Schnittstelle IBinaryModule
    • getTagBits

      public long getTagBits()
      Angegeben von:
      getTagBits in Schnittstelle IBinaryModule
    • createModule

      public static ModuleInfo createModule(byte[] classFileBytes, int[] offsets, int offset)
      Parameter:
      classFileBytes - bytes of the enclosing class file
      offsets - constant pool offsets
      offset - offset to the "Module" attribute
      Gibt zurück:
      a module info initialized from the "Module" attribute, which was already detected by the caller
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • toStringContent

      protected void toStringContent(StringBuffer buffer)
    • getURI

      public URI getURI()
      Angegeben von:
      getURI in Schnittstelle IBinaryModule