Class BootstrapMethodsAttribute

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

public class BootstrapMethodsAttribute extends Attribute
This Attribute represents a bootstrap methods attribute.
See Also:
  • Field Details

    • u2bootstrapMethodsCount

      public int u2bootstrapMethodsCount
    • bootstrapMethods

      public BootstrapMethodInfo[] bootstrapMethods
  • Constructor Details

    • BootstrapMethodsAttribute

      public BootstrapMethodsAttribute()
      Creates an uninitialized BootstrapMethodsAttribute.
    • BootstrapMethodsAttribute

      public BootstrapMethodsAttribute(int u2attributeNameIndex, int u2bootstrapMethodsCount, BootstrapMethodInfo[] bootstrapMethods)
      Creates an initialized BootstrapMethodsAttribute.
  • Method Details

    • accept

      public void accept(Clazz clazz, AttributeVisitor attributeVisitor)
      Description copied from class: Attribute
      Accepts the given visitor.
      Overrides:
      accept in class Attribute
    • bootstrapMethodEntriesAccept

      public void bootstrapMethodEntriesAccept(Clazz clazz, BootstrapMethodInfoVisitor bootstrapMethodInfoVisitor)
      Applies the given visitor to all bootstrap method info entries.
    • bootstrapMethodEntryAccept

      public void bootstrapMethodEntryAccept(Clazz clazz, int bootstrapMethodIndex, BootstrapMethodInfoVisitor bootstrapMethodInfoVisitor)
      Applies the given visitor to the specified bootstrap method info entry.