Class ModuleAttribute

All Implemented Interfaces:
IClassFileAttribute, IModuleAttribute

public class ModuleAttribute extends ClassFileAttribute implements IModuleAttribute
Since:
3.14
  • Method Details

    • getModuleNameIndex

      public int getModuleNameIndex()
      Description copied from interface: IModuleAttribute
      Answer back the module name index.
      Specified by:
      getModuleNameIndex in interface IModuleAttribute
      Returns:
      the module name index
    • getModuleName

      public char[] getModuleName()
      Description copied from interface: IModuleAttribute
      Answer back the module name.
      Specified by:
      getModuleName in interface IModuleAttribute
      Returns:
      the module name
    • getModuleFlags

      public int getModuleFlags()
      Description copied from interface: IModuleAttribute
      Answer back the module flags.
      Specified by:
      getModuleFlags in interface IModuleAttribute
      Returns:
      the module flags
    • getModuleVersionIndex

      public int getModuleVersionIndex()
      Description copied from interface: IModuleAttribute
      Answer back the module version index.
      Specified by:
      getModuleVersionIndex in interface IModuleAttribute
      Returns:
      the module version index
    • getModuleVersionValue

      public char[] getModuleVersionValue()
      Description copied from interface: IModuleAttribute
      Answer back the module version string.
      Specified by:
      getModuleVersionValue in interface IModuleAttribute
      Returns:
      the module version string
    • getRequiresCount

      public int getRequiresCount()
      Description copied from interface: IModuleAttribute
      Answer back the requires count.
      Specified by:
      getRequiresCount in interface IModuleAttribute
      Returns:
      the requires counts
    • getRequiresInfo

      public IRequiresInfo[] getRequiresInfo()
      Description copied from interface: IModuleAttribute
      Answer back the array of requires infos of the .class file, an empty array if none.
      Specified by:
      getRequiresInfo in interface IModuleAttribute
      Returns:
      the array of requires infos of the .class file, an empty array if none
    • getExportsCount

      public int getExportsCount()
      Description copied from interface: IModuleAttribute
      Answer back the exports count.
      Specified by:
      getExportsCount in interface IModuleAttribute
      Returns:
      the exports counts
    • getExportsInfo

      public IPackageVisibilityInfo[] getExportsInfo()
      Description copied from interface: IModuleAttribute
      Answer back the array of exports infos of the .class file, an empty array if none.
      Specified by:
      getExportsInfo in interface IModuleAttribute
      Returns:
      the array of exports infos of the .class file, an empty array if none
    • getOpensCount

      public int getOpensCount()
      Description copied from interface: IModuleAttribute
      Answer back the opens count.
      Specified by:
      getOpensCount in interface IModuleAttribute
      Returns:
      the opens counts
    • getOpensInfo

      public IPackageVisibilityInfo[] getOpensInfo()
      Description copied from interface: IModuleAttribute
      Answer back the array of opens infos of the .class file, an empty array if none.
      Specified by:
      getOpensInfo in interface IModuleAttribute
      Returns:
      the array of opens infos of the .class file, an empty array if none
    • getUsesCount

      public int getUsesCount()
      Description copied from interface: IModuleAttribute
      Answer back the uses count.
      Specified by:
      getUsesCount in interface IModuleAttribute
      Returns:
      the uses counts
    • getUsesIndices

      public int[] getUsesIndices()
      Description copied from interface: IModuleAttribute
      Answer back the array of uses indices of the .class file, an empty array if none.
      Specified by:
      getUsesIndices in interface IModuleAttribute
      Returns:
      the array of uses indices of the .class file, an empty array if none
    • getUsesClassNames

      public char[][] getUsesClassNames()
      Description copied from interface: IModuleAttribute
      Answer back the array of uses class names of the .class file, an empty array if none.
      Specified by:
      getUsesClassNames in interface IModuleAttribute
      Returns:
      the array of uses class names of the .class file, an empty array if none
    • getProvidesCount

      public int getProvidesCount()
      Description copied from interface: IModuleAttribute
      Answer back the provides count.
      Specified by:
      getProvidesCount in interface IModuleAttribute
      Returns:
      the provides counts
    • getProvidesInfo

      public IProvidesInfo[] getProvidesInfo()
      Description copied from interface: IModuleAttribute
      Answer back the array of provides infos of the .class file, an empty array if none.
      Specified by:
      getProvidesInfo in interface IModuleAttribute
      Returns:
      the array of provides infos of the .class file, an empty array if none