Class ModuleAttribute

    • Field Detail

      • u2moduleNameIndex

        public int u2moduleNameIndex
      • u2moduleFlags

        public int u2moduleFlags
      • u2moduleVersionIndex

        public int u2moduleVersionIndex
      • u2requiresCount

        public int u2requiresCount
      • u2exportsCount

        public int u2exportsCount
      • u2opensCount

        public int u2opensCount
      • u2usesCount

        public int u2usesCount
      • u2uses

        public int[] u2uses
      • u2providesCount

        public int u2providesCount
    • Constructor Detail

      • ModuleAttribute

        public ModuleAttribute()
        Creates an uninitialized ModuleAttribute.
      • ModuleAttribute

        public ModuleAttribute​(int u2attributeNameIndex,
                               int u2moduleNameIndex,
                               int u2moduleFlags,
                               int u2moduleVersionIndex,
                               int u2requiresCount,
                               RequiresInfo[] requires,
                               int u2exportsCount,
                               ExportsInfo[] exports,
                               int u2opensCount,
                               OpensInfo[] opens,
                               int u2usesCount,
                               int[] u2uses,
                               int u2ProvidesCount,
                               ProvidesInfo[] provides)
        Creates an initialized ModuleAttribute.
    • Method Detail

      • nameAccept

        public void nameAccept​(Clazz clazz,
                               ConstantVisitor constantVisitor)
        Applies the given constant pool visitor to the Utf8 constant of the name, if any.
      • versionAccept

        public void versionAccept​(Clazz clazz,
                                  ConstantVisitor constantVisitor)
        Applies the given constant pool visitor to the Utf8 constant of the version, if any.
      • requiresAccept

        public void requiresAccept​(Clazz clazz,
                                   RequiresInfoVisitor requiresInfoVisitor)
        Applies the given visitor to all requires.
      • exportsAccept

        public void exportsAccept​(Clazz clazz,
                                  ExportsInfoVisitor exportsInfoVisitor)
        Applies the given visitor to all exports.
      • opensAccept

        public void opensAccept​(Clazz clazz,
                                OpensInfoVisitor opensInfoVisitor)
        Applies the given visitor to all exports.
      • usesAccept

        public void usesAccept​(Clazz clazz,
                               ConstantVisitor constantVisitor)
        Applies the given constant pool visitor to all uses.
      • providesAccept

        public void providesAccept​(Clazz clazz,
                                   ProvidesInfoVisitor providesInfoVisitor)
        Applies the given visitor to all provides.