Uses of Interface
java.lang.classfile.FieldBuilder
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of FieldBuilderPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.A builder for fields.interface
Preview.A transformation on streams ofFieldElement
PREVIEW.Modifier and TypeMethodDescriptiondefault FieldBuilderPREVIEW
FieldBuilder.withFlags
(int flags) Sets the field access flags.default FieldBuilderPREVIEW
FieldBuilder.withFlags
(AccessFlag... flags) Sets the field access flags.Modifier and TypeMethodDescriptionstatic 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.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.