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.classfilePREVIEW library.-
Uses of ClassTransformPREVIEW in java.lang.classfilePREVIEW
Subinterfaces with type arguments of type ClassTransformPREVIEW in java.lang.classfilePREVIEWModifier and TypeInterfaceDescriptioninterfacePreview.A transformation on streams ofClassElementPREVIEW.Fields in java.lang.classfilePREVIEW declared as ClassTransformPREVIEWModifier and TypeFieldDescriptionstatic final ClassTransformPREVIEWClassTransform.ACCEPT_ALLA class transform that sends all elements to the builder.Methods in java.lang.classfilePREVIEW that return ClassTransformPREVIEWModifier and TypeMethodDescriptiondefault ClassTransformPREVIEWClassTransform.andThen(ClassTransformPREVIEW t) static ClassTransformPREVIEWClassTransform.dropping(Predicate<ClassElementPREVIEW> filter) Create a class transform that passes each element through to the builder, except for those that the suppliedPredicateis true for.static ClassTransformPREVIEWClassTransform.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 ClassTransformPREVIEWClassTransform.ofStateful(Supplier<ClassTransformPREVIEW> supplier) Create a stateful class transform from aSupplier.static ClassTransformPREVIEWClassTransform.transformingFields(FieldTransformPREVIEW xform) Create a class transform that transformsFieldModelPREVIEW elements with the supplied field transform.static ClassTransformPREVIEWClassTransform.transformingMethodBodies(CodeTransformPREVIEW xform) Create a class transform that transforms theCodeAttributePREVIEW (method body) ofMethodModelPREVIEW elements with the supplied code transform.static ClassTransformPREVIEWClassTransform.transformingMethodBodies(Predicate<MethodModelPREVIEW> filter, CodeTransformPREVIEW xform) Create a class transform that transforms theCodeAttributePREVIEW (method body) ofMethodModelPREVIEW elements with the supplied code transform.static ClassTransformPREVIEWClassTransform.transformingMethods(MethodTransformPREVIEW xform) Create a class transform that transformsMethodModelPREVIEW elements with the supplied method transform.static ClassTransformPREVIEWClassTransform.transformingMethods(Predicate<MethodModelPREVIEW> filter, MethodTransformPREVIEW xform) Create a class transform that transformsMethodModelPREVIEW elements with the supplied method transform.Methods in java.lang.classfilePREVIEW with parameters of type ClassTransformPREVIEWModifier and TypeMethodDescriptiondefault ClassTransformPREVIEWClassTransform.andThen(ClassTransformPREVIEW t) default byte[]ClassFile.transformClass(ClassModelPREVIEW model, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransformPREVIEW.byte[]ClassFile.transformClass(ClassModelPREVIEW model, ClassEntryPREVIEW newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransformPREVIEW.default byte[]ClassFile.transformClass(ClassModelPREVIEW model, ClassDesc newClassName, ClassTransformPREVIEW transform) Transform one classfile into a new classfile with the aid of aClassTransformPREVIEW.Method parameters in java.lang.classfilePREVIEW with type arguments of type ClassTransformPREVIEWModifier and TypeMethodDescriptionstatic ClassTransformPREVIEWClassTransform.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 TypeInterfaceDescriptioninterfacePreview.ClassRemapperis aClassTransformPREVIEW,FieldTransformPREVIEW,MethodTransformPREVIEW andCodeTransformPREVIEW deeply re-mapping all class references in any form, according to given map or map function.