# Uses of Interface
java.lang.classfile.FieldTransform

Packages that use FieldTransformPREVIEW
Package
Description
java.lang.classfile
Provides classfile parsing, generation, and transformation library.
java.lang.classfile.components
Provides specific components, transformations, and tools built on top of the `java.lang.classfile`PREVIEW library.

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

  Fields in java.lang.classfilePREVIEW declared as FieldTransformPREVIEW
  Modifier and Type
  Field
  Description
  `static final FieldTransformPREVIEW`
  FieldTransform.`ACCEPT_ALL`
  A field transform that sends all elements to the builder.
  Methods in java.lang.classfilePREVIEW that return FieldTransformPREVIEW
  Modifier and Type
  Method
  Description
  `default FieldTransformPREVIEW`
  FieldTransform.`andThen(FieldTransformPREVIEW t)`
  `static FieldTransformPREVIEW`
  FieldTransform.`dropping(Predicate<FieldElementPREVIEW> filter)`
  Create a field transform that passes each element through to the builder, except for those that the supplied `Predicate` is true for.
  `static FieldTransformPREVIEW`
  FieldTransform.`endHandler(Consumer<FieldBuilderPREVIEW> finisher)`
  Create a field transform that passes each element through to the builder, and calls the specified function when transformation is complete.
  `static FieldTransformPREVIEW`
  FieldTransform.`ofStateful(Supplier<FieldTransformPREVIEW> supplier)`
  Create a stateful field transform from a `Supplier`.
  Methods in java.lang.classfilePREVIEW with parameters of type FieldTransformPREVIEW
  Modifier and Type
  Method
  Description
  `default FieldTransformPREVIEW`
  FieldTransform.`andThen(FieldTransformPREVIEW t)`
  `ClassBuilderPREVIEW`
  ClassBuilder.`transformField(FieldModelPREVIEW field, FieldTransformPREVIEW transform)`
  Adds a field by transforming a field from another class.
  `static ClassTransformPREVIEW`
  ClassTransform.`transformingFields(FieldTransformPREVIEW xform)`
  Create a class transform that transforms `FieldModel`PREVIEW elements with the supplied field transform.
  Method parameters in java.lang.classfilePREVIEW with type arguments of type FieldTransformPREVIEW
  Modifier and Type
  Method
  Description
  `static FieldTransformPREVIEW`
  FieldTransform.`ofStateful(Supplier<FieldTransformPREVIEW> supplier)`
  Create a stateful field transform from a `Supplier`.

- ## Uses of FieldTransformPREVIEW in java.lang.classfile.componentsPREVIEW

  Methods in java.lang.classfile.componentsPREVIEW that return FieldTransformPREVIEW
  Modifier and Type
  Method
  Description
  `FieldTransformPREVIEW`
  ClassRemapper.`asFieldTransform()`
  Returns this `ClassRemapper` as `FieldTransform`PREVIEW instance.