Uses of Interface
java.lang.classfile.FieldTransform
Packages that use FieldTransform
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of FieldTransform in java.lang.classfile
Subinterfaces with type arguments of type FieldTransform in java.lang.classfileFields in java.lang.classfile declared as FieldTransformModifier and TypeFieldDescriptionstatic final FieldTransform
FieldTransform.ACCEPT_ALL
A field transform that sends all elements to the builder.Methods in java.lang.classfile that return FieldTransformModifier and TypeMethodDescriptiondefault FieldTransform
FieldTransform.andThen
(FieldTransform t) static FieldTransform
FieldTransform.dropping
(Predicate<FieldElement> filter) Create a field transform that passes each element through to the builder, except for those that the suppliedPredicate
is true for.static FieldTransform
FieldTransform.endHandler
(Consumer<FieldBuilder> finisher) Create a field transform that passes each element through to the builder, and calls the specified function when transformation is complete.static FieldTransform
FieldTransform.ofStateful
(Supplier<FieldTransform> supplier) Create a stateful field transform from aSupplier
.Methods in java.lang.classfile with parameters of type FieldTransformModifier and TypeMethodDescriptiondefault FieldTransform
FieldTransform.andThen
(FieldTransform t) ClassBuilder.transformField
(FieldModel field, FieldTransform transform) Adds a field by transforming a field from another class.static ClassTransform
ClassTransform.transformingFields
(FieldTransform xform) Create a class transform that transformsFieldModel
elements with the supplied field transform.Method parameters in java.lang.classfile with type arguments of type FieldTransformModifier and TypeMethodDescriptionstatic FieldTransform
FieldTransform.ofStateful
(Supplier<FieldTransform> supplier) Create a stateful field transform from aSupplier
.