Class ProvidesInfo

java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.module.ProvidesInfo
All Implemented Interfaces:
Serializable, Processable

public class ProvidesInfo extends SimpleProcessable
Representation of a Provides entry in a Module attribute.
See Also:
  • Field Details

    • u2providesIndex

      public int u2providesIndex
    • u2providesWithCount

      public int u2providesWithCount
    • u2providesWithIndex

      public int[] u2providesWithIndex
  • Constructor Details

    • ProvidesInfo

      public ProvidesInfo()
      Creates an uninitialized ProvidesInfo.
    • ProvidesInfo

      public ProvidesInfo(int u2providesIndex, int u2providesWithCount, int[] u2providesWithIndex)
      Creates an initialized ProvidesInfo.
  • Method Details

    • providesAccept

      public void providesAccept(Clazz clazz, ConstantVisitor constantVisitor)
      Applies the given constant pool visitor to the class constant of the provides, if any.
    • withAccept

      public void withAccept(Clazz clazz, ConstantVisitor constantVisitor)
      Applies the given constant pool visitor to all with entries.