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

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

Packages that use FieldRefEntryPREVIEW
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 FieldRefEntryPREVIEW in java.lang.classfilePREVIEW

  Methods in java.lang.classfilePREVIEW with parameters of type FieldRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `default CodeBuilderPREVIEW`
  CodeBuilder.`fieldAccess(OpcodePREVIEW opcode, FieldRefEntryPREVIEW ref)`
  Generate an instruction to access a field
  `default CodeBuilderPREVIEW`
  CodeBuilder.`getfield(FieldRefEntryPREVIEW ref)`
  Generate an instruction to fetch field from an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`getstatic(FieldRefEntryPREVIEW ref)`
  Generate an instruction to get static field from a class
  `default CodeBuilderPREVIEW`
  CodeBuilder.`putfield(FieldRefEntryPREVIEW ref)`
  Generate an instruction to set field in an object
  `default CodeBuilderPREVIEW`
  CodeBuilder.`putstatic(FieldRefEntryPREVIEW ref)`
  Generate an instruction to set static field in a class

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

  Methods in java.lang.classfile.constantpoolPREVIEW that return FieldRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `FieldRefEntryPREVIEW`
  ConstantPoolBuilder.`fieldRefEntry(ClassEntryPREVIEW owner, NameAndTypeEntryPREVIEW nameAndType)`
  Returns A `FieldRefEntry`PREVIEW describing a field of a class.
  `default FieldRefEntryPREVIEW`
  ConstantPoolBuilder.`fieldRefEntry(ClassDesc owner, String name, ClassDesc type)`
  Returns A `FieldRefEntry`PREVIEW describing a field of a class.

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

  Methods in java.lang.classfile.instructionPREVIEW that return FieldRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `FieldRefEntryPREVIEW`
  FieldInstruction.`field()`
  Returns the `FieldRefEntry`PREVIEW constant described by this instruction.
  Methods in java.lang.classfile.instructionPREVIEW with parameters of type FieldRefEntryPREVIEW
  Modifier and Type
  Method
  Description
  `static FieldInstructionPREVIEW`
  FieldInstruction.`of(OpcodePREVIEW op, FieldRefEntryPREVIEW field)`
  Returns a field access instruction.