- All Superinterfaces:
ClassfileElement,WritableElement<BootstrapMethodEntry>
- All Known Implementing Classes:
BootstrapMethodEntryImpl
public sealed interface BootstrapMethodEntry
extends WritableElement<BootstrapMethodEntry>
permits BootstrapMethodEntryImpl
Models an entry in the bootstrap method table. The bootstrap method table
is stored in the
BootstrapMethods attribute, but is modeled by
the ConstantPool, since the bootstrap method table is logically
part of the constant pool.-
Method Summary
Modifier and TypeMethodDescriptionReturns the bootstrap arguments.Returns the bootstrap method.intbsmIndex()Returns the index into the bootstrap method table corresponding to this entry.Returns the constant pool associated with this entry.Methods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
constantPool
ConstantPool constantPool()Returns the constant pool associated with this entry.- Returns:
- the constant pool associated with this entry
-
bsmIndex
int bsmIndex()Returns the index into the bootstrap method table corresponding to this entry.- Returns:
- the index into the bootstrap method table corresponding to this entry
-
bootstrapMethod
MethodHandleEntry bootstrapMethod()Returns the bootstrap method.- Returns:
- the bootstrap method
-
arguments
List<LoadableConstantEntry> arguments()Returns the bootstrap arguments.- Returns:
- the bootstrap arguments
-