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

# 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

  Subinterfaces with type arguments of type FieldBuilderPREVIEW in java.lang.classfilePREVIEW
  Modifier and Type
  Interface
  Description
  `interface`
  `FieldBuilderPREVIEW`
  Preview.
  A builder for fields.
  `interface`
  `FieldTransformPREVIEW`
  Preview.
  A transformation on streams of `FieldElement`PREVIEW.
  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.