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 FieldTransformFieldTransform.ACCEPT_ALLA field transform that passes all elements to the builder.Methods in java.lang.classfile that return FieldTransformModifier and TypeMethodDescriptiondefault FieldTransformFieldTransform.andThen(FieldTransform t) static FieldTransformFieldTransform.dropping(Predicate<FieldElement> filter) Creates a field transform that passes each element through to the builder, except for those that the suppliedPredicateis true for.static FieldTransformFieldTransform.endHandler(Consumer<FieldBuilder> finisher) Creates a field transform that passes each element through to the builder, and calls the specified function when transformation is complete.static FieldTransformFieldTransform.ofStateful(Supplier<FieldTransform> supplier) Creates a stateful field transform from aSupplier.Methods in java.lang.classfile with parameters of type FieldTransformModifier and TypeMethodDescriptiondefault FieldTransformFieldTransform.andThen(FieldTransform t) ClassBuilder.transformField(FieldModel field, FieldTransform transform) Adds a field by transforming a field from another class.static ClassTransformClassTransform.transformingFields(FieldTransform xform) Creates a class transform that transformsFieldModelelements with the supplied field transform, passing other elements through to the builder.Method parameters in java.lang.classfile with type arguments of type FieldTransformModifier and TypeMethodDescriptionstatic FieldTransformFieldTransform.ofStateful(Supplier<FieldTransform> supplier) Creates a stateful field transform from aSupplier.