# Uses of Interface
java.lang.classfile.FieldBuilder

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

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

  Methods in java.lang.classfilePREVIEW that return FieldBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `default FieldBuilderPREVIEW`
  FieldBuilder.`withFlags(int flags)`
  Sets the field access flags.
  `default FieldBuilderPREVIEW`
  FieldBuilder.`withFlags(AccessFlag... flags)`
  Sets the field access flags.
  Methods in java.lang.classfilePREVIEW with parameters of type FieldBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `default ClassFileTransform.ResolvedTransformPREVIEW<FieldElementPREVIEW>`
  FieldTransform.`resolve(FieldBuilderPREVIEW builder)`
  Method parameters in java.lang.classfilePREVIEW with type arguments of type FieldBuilderPREVIEW
  Modifier and Type
  Method
  Description
  `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.
  `ClassBuilderPREVIEW`
  ClassBuilder.`withField(Utf8EntryPREVIEW name, Utf8EntryPREVIEW descriptor, Consumer<? super FieldBuilderPREVIEW> handler)`
  Adds a field.
  `default ClassBuilderPREVIEW`
  ClassBuilder.`withField(String name, ClassDesc descriptor, Consumer<? super FieldBuilderPREVIEW> handler)`
  Adds a field.