Uses of Interface
java.lang.classfile.FieldTransform
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides specific components, transformations, and tools built on top of the
java.lang.classfile
PREVIEW library.-
Uses of FieldTransformPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.A transformation on streams ofFieldElement
PREVIEW.Modifier and TypeFieldDescriptionstatic final FieldTransformPREVIEW
FieldTransform.ACCEPT_ALL
A field transform that sends all elements to the builder.Modifier and TypeMethodDescriptiondefault 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 suppliedPredicate
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 aSupplier
.Modifier and TypeMethodDescriptiondefault FieldTransformPREVIEW
FieldTransform.andThen
(FieldTransformPREVIEW t) 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 transformsFieldModel
PREVIEW elements with the supplied field transform.Modifier and TypeMethodDescriptionstatic FieldTransformPREVIEW
FieldTransform.ofStateful
(Supplier<FieldTransformPREVIEW> supplier) Create a stateful field transform from aSupplier
. -
Uses of FieldTransformPREVIEW in java.lang.classfile.componentsPREVIEW