Uses of Interface java.lang.classfile.constantpool.MethodHandleEntry (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.lang.classfile.constantpool, interface: MethodHandleEntry

# Uses of Interface
java.lang.classfile.constantpool.MethodHandleEntry

Packages that use MethodHandleEntryPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.constantpool
Provides interfaces describing classfile constant pool entries for the `java.lang.classfile`PREVIEW library.

- ## Uses of MethodHandleEntryPREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW that return MethodHandleEntryPREVIEW
  Modifier and Type
  Method
  Description
  `MethodHandleEntryPREVIEW`
  BootstrapMethodEntry.`bootstrapMethod()`
  Returns the bootstrap method.
  `MethodHandleEntryPREVIEW`
  ClassReader.`readMethodHandleEntry(int offset)`
  Returns the method handle entry whose index is given at the specified offset within the classfile.

- ## Uses of MethodHandleEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW

  Methods in java.lang.classfile.constantpoolPREVIEW that return MethodHandleEntryPREVIEW
  Modifier and Type
  Method
  Description
  `MethodHandleEntryPREVIEW`
  ConstantPoolBuilder.`methodHandleEntry(int refKind, MemberRefEntryPREVIEW reference)`
  Returns A `MethodHandleEntry`PREVIEW describing a field accessor or method.
  `default MethodHandleEntryPREVIEW`
  ConstantPoolBuilder.`methodHandleEntry(DirectMethodHandleDesc descriptor)`
  Returns A `MethodHandleEntry`PREVIEW describing a direct method handle.
  Methods in java.lang.classfile.constantpoolPREVIEW with parameters of type MethodHandleEntryPREVIEW
  Modifier and Type
  Method
  Description
  `BootstrapMethodEntryPREVIEW`
  ConstantPoolBuilder.`bsmEntry(MethodHandleEntryPREVIEW methodReference, List<LoadableConstantEntryPREVIEW> arguments)`
  Returns a `BootstrapMethodEntry`PREVIEW describing the provided bootstrap method and static arguments.