# 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

  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.