类 RequiresInfo

java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.module.RequiresInfo
所有已实现的接口:
Serializable, Processable

public class RequiresInfo extends SimpleProcessable
Representation of a Requires entry in a Module attribute.
另请参阅:
  • 字段详细资料

    • u2requiresIndex

      public int u2requiresIndex
    • u2requiresFlags

      public int u2requiresFlags
    • u2requiresVersionIndex

      public int u2requiresVersionIndex
  • 构造器详细资料

    • RequiresInfo

      public RequiresInfo()
      Creates an uninitialized RequiresInfo.
    • RequiresInfo

      public RequiresInfo(int u2requiresIndex, int u2requiresFlags, int u2requiresVersionIndex)
      Creates an uninitialized RequiresInfo.
  • 方法详细资料

    • moduleAccept

      public void moduleAccept(Clazz clazz, ConstantVisitor constantVisitor)
      Applies the given constant pool visitor to the module constant of the module, 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.