Uses of Interface
java.lang.classfile.ClassTransform
Packages that use ClassTransformPREVIEW
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 ClassTransformPREVIEW in java.lang.classfilePREVIEW
Subinterfaces with type arguments of type ClassTransformPREVIEW in java.lang.classfilePREVIEWModifier and TypeInterfaceDescriptioninterface
Preview.A transformation on streams ofClassElement
PREVIEW.Fields in java.lang.classfilePREVIEW declared as ClassTransformPREVIEWModifier and TypeFieldDescriptionstatic final ClassTransformPREVIEW
ClassTransform.ACCEPT_ALL
A class transform that sends all elements to the builder.Methods in java.lang.classfilePREVIEW that return ClassTransformPREVIEWModifier and TypeMethodDescriptiondefault ClassTransformPREVIEW
ClassTransform.andThen
(ClassTransformPREVIEW t) static ClassTransformPREVIEW
ClassTransform.dropping
(Predicate<ClassElementPREVIEW> filter) Create a class transform that passes each element through to the builder, except for those that the suppliedPredicate
is true for.static ClassTransformPREVIEW
ClassTransform.endHandler
(Consumer<ClassBuilderPREVIEW> finisher) Create a class transform that passes each element through to the builder, and calls the specified function when transformation is complete.static ClassTransformPREVIEW
ClassTransform.ofStateful
(Supplier<ClassTransformPREVIEW> supplier) Create a stateful class transform from aSupplier
.static ClassTransformPREVIEW
ClassTransform.transformingFields
(FieldTransformPREVIEW xform) Create a class transform that transformsFieldModel
PREVIEW elements with the supplied field transform.static ClassTransformPREVIEW
ClassTransform.transformingMethodBodies
(CodeTransformPREVIEW xform) Create a class transform that transforms theCodeAttribute
PREVIEW (method body) ofMethodModel
PREVIEW elements with the supplied code transform.static ClassTransformPREVIEW
ClassTransform.transformingMethodBodies
(Predicate<MethodModelPREVIEW> filter, CodeTransformPREVIEW xform) Create a class transform that transforms theCodeAttribute
PREVIEW (method body) ofMethodModel
PREVIEW elements with the supplied code transform.static ClassTransformPREVIEW
ClassTransform.transformingMethods
(MethodTransformPREVIEW xform) Create a class transform that transformsMethodModel
PREVIEW elements with the supplied method transform.static ClassTransformPREVIEW
ClassTransform.transformingMethods
(Predicate<MethodModelPREVIEW> filter, MethodTransformPREVIEW xform) Create a class transform that transformsMethodModel
PREVIEW elements with the supplied method transform.Methods in java.lang.classfilePREVIEW with parameters of type ClassTransformPREVIEWModifier and TypeMethodDescriptiondefault ClassTransformPREVIEW
ClassTransform.andThen
(ClassTransformPREVIEW t) default byte[]
ClassFile.transformClass
(ClassModelPREVIEW model, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransform
PREVIEW.byte[]
ClassFile.transformClass
(ClassModelPREVIEW model, ClassEntryPREVIEW newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransform
PREVIEW.default byte[]
ClassFile.transformClass
(ClassModelPREVIEW model, ClassDesc newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransform
PREVIEW.Method parameters in java.lang.classfilePREVIEW with type arguments of type ClassTransformPREVIEWModifier and TypeMethodDescriptionstatic ClassTransformPREVIEW
ClassTransform.ofStateful
(Supplier<ClassTransformPREVIEW> supplier) Create a stateful class transform from aSupplier
. -
Uses of ClassTransformPREVIEW in java.lang.classfile.componentsPREVIEW
Subinterfaces of ClassTransformPREVIEW in java.lang.classfile.componentsPREVIEWModifier and TypeInterfaceDescriptioninterface
Preview.ClassRemapper
is aClassTransform
PREVIEW,FieldTransform
PREVIEW,MethodTransform
PREVIEW andCodeTransform
PREVIEW deeply re-mapping all class references in any form, according to given map or map function.