Module org.glavo.classfile
Package org.glavo.classfile.attribute
Interface BootstrapMethodsAttribute
- All Superinterfaces:
Attribute<BootstrapMethodsAttribute>,ClassfileElement,WritableElement<BootstrapMethodsAttribute>
- All Known Implementing Classes:
BoundAttribute.BoundBootstrapMethodsAttribute,UnboundAttribute.EmptyBootstrapAttribute
public sealed interface BootstrapMethodsAttribute
extends Attribute<BootstrapMethodsAttribute>
permits 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 Summary
Modifier and TypeMethodDescriptionReturns the elements of the bootstrap method table.intReturns the size of the bootstrap methods table.Methods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
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
-