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

# Uses of Interface
java.lang.classfile.FieldModel

Packages that use FieldModelPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.

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

  Subinterfaces with type arguments of type FieldModelPREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `FieldModelPREVIEW`
  Preview.
  Models a field.
  Methods in java.lang.classfilePREVIEW that return types with arguments of type FieldModelPREVIEW
  Modifier and Type
  Method
  Description
  `List<FieldModelPREVIEW>`
  ClassModel.`fields()`
  Returns the fields of this class.
  `Optional<FieldModelPREVIEW>`
  FieldBuilder.`original()`
  Returns the `FieldModel`PREVIEW representing the field being transformed, if this field builder represents the transformation of some `FieldModel`PREVIEW.
  Methods in java.lang.classfilePREVIEW with parameters of type FieldModelPREVIEW
  Modifier and Type
  Method
  Description
  `ClassBuilderPREVIEW`
  ClassBuilder.`transformField(FieldModelPREVIEW field, FieldTransformPREVIEW transform)`
  Adds a field by transforming a field from another class.