Interface BootstrapMethodsAttribute

All Superinterfaces:
Attribute<BootstrapMethodsAttribute>, ClassfileElement, WritableElement<BootstrapMethodsAttribute>
All Known Implementing Classes:
BoundAttribute.BoundBootstrapMethodsAttribute, UnboundAttribute.EmptyBootstrapAttribute

Models the BootstrapMethods attribute , which serves as an extension to the constant pool of a classfile. Elements of the bootstrap method table are accessed through ConstantPool.
  • Method Details

    • bootstrapMethods

      List<BootstrapMethodEntry> bootstrapMethods()
      Returns the elements of the bootstrap method table.
      Returns:
      the elements of the bootstrap method table
    • bootstrapMethodsSize

      int bootstrapMethodsSize()
      Returns the size of the bootstrap methods table.. Calling this method does not necessarily inflate the entire table.
      Returns:
      the size of the bootstrap methods table