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

Packages that use MemberRefEntryPREVIEW
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.
java.lang.classfile.instruction
Provides interfaces describing code instructions for the `java.lang.classfile`PREVIEW library.

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

  Methods in java.lang.classfilePREVIEW with parameters of type MemberRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `default CodeBuilderPREVIEW`
  CodeBuilder.`invokeInstruction(OpcodePREVIEW opcode, MemberRefEntryPREVIEW ref)`
  Generate an instruction to invoke a method or constructor

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

  Subinterfaces of MemberRefEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `FieldRefEntryPREVIEW`
  Preview.
  Models a `CONSTANT_Fieldref_info` constant in the constant pool of a classfile.
  `interface`
  `InterfaceMethodRefEntryPREVIEW`
  Preview.
  Models a `CONSTANT_InterfaceMethodRef_info` constant in the constant pool of a classfile.
  `interface`
  `MethodRefEntryPREVIEW`
  Preview.
  Models a `CONSTANT_MethodRef_info` constant in the constant pool of a classfile.
  Methods in java.lang.classfile.constantpoolPREVIEW that return MemberRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `MemberRefEntryPREVIEW`
  MethodHandleEntry.`reference()`
  Returns the constant pool entry describing the method.
  Methods in java.lang.classfile.constantpoolPREVIEW with parameters of type MemberRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `MethodHandleEntryPREVIEW`
  ConstantPoolBuilder.`methodHandleEntry(int refKind, MemberRefEntryPREVIEW reference)`
  Returns A `MethodHandleEntry`PREVIEW describing a field accessor or method.

- ## Uses of MemberRefEntryPREVIEW in java.lang.classfile.instructionPREVIEW

  Methods in java.lang.classfile.instructionPREVIEW that return MemberRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `MemberRefEntryPREVIEW`
  InvokeInstruction.`method()`
  Returns the `MethodRefEntry`PREVIEW or `InterfaceMethodRefEntry`PREVIEW constant described by this instruction.
  Methods in java.lang.classfile.instructionPREVIEW with parameters of type MemberRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `static InvokeInstructionPREVIEW`
  InvokeInstruction.`of(OpcodePREVIEW op, MemberRefEntryPREVIEW method)`
  Returns an invocation instruction.