public sealed interface BootstrapMethodEntry
BootstrapMethods attribute, but is modeled by the ConstantPool, since the bootstrap method table is logically part of the constant pool. A bootstrap method entry is composite:
BootstrapMethodEntry(
MethodHandleEntry bootstrapMethod,
List<LoadableConstantEntry> arguments
)
| Modifier and Type | Method | Description |
|---|---|---|
List |
arguments() |
Returns the bootstrap arguments. |
MethodHandleEntry |
bootstrapMethod() |
Returns the bootstrap method. |
int |
bsmIndex() |
Returns the index into the bootstrap method table corresponding to this entry. |
ConstantPool |
constantPool() |
Returns the constant pool associated with this entry. |
ConstantPool constantPool()
ConstantPoolBuilder builder and a
BootstrapMethodEntry entry, use builder.canWriteDirect(entry.constantPool()) instead of object equality of the constant pool to determine if an entry is compatible.int bsmIndex()
MethodHandleEntry bootstrapMethod()
List<LoadableConstantEntry> arguments()
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/classfile/BootstrapMethodEntry.html