Package 

Class ProvidesEntry

  • All Implemented Interfaces:

    
    public final class ProvidesEntry
    extends SubStructure
                        

    Describes a "provides" statement in a Module attribute structure.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ProvidesEntry()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getIndex() The index of the CONSTANT_Class_info structure that is provided by this module.
      final Unit setIndex(Integer index) The index of the CONSTANT_Class_info structure that is provided by this module.
      final IntArray getWithIndices() Implementation classes as indices of CONSTANT_Class_info structures in the constant pool.
      final Unit setWithIndices(IntArray withIndices) Implementation classes as indices of CONSTANT_Class_info structures in the constant pool.
      Integer getLength() The length of the structure in bytes.
      • Methods inherited from class org.gjt.jclasslib.structures.Structure

        read, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProvidesEntry

        ProvidesEntry()
    • Method Detail

      • getIndex

         final Integer getIndex()

        The index of the CONSTANT_Class_info structure that is provided by this module.

      • setIndex

         final Unit setIndex(Integer index)

        The index of the CONSTANT_Class_info structure that is provided by this module.

      • getWithIndices

         final IntArray getWithIndices()

        Implementation classes as indices of CONSTANT_Class_info structures in the constant pool.

      • setWithIndices

         final Unit setWithIndices(IntArray withIndices)

        Implementation classes as indices of CONSTANT_Class_info structures in the constant pool.