Uses of Interface
java.lang.classfile.MethodModel
Packages that use MethodModelPREVIEW
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of MethodModelPREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW that return types with arguments of type MethodModelPREVIEWModifier and TypeMethodDescriptionClassModel.methods()
Returns the methods of this class.CodeModel.parent()
Returns the enclosing method, if known.Methods in java.lang.classfilePREVIEW with parameters of type MethodModelPREVIEWModifier and TypeMethodDescriptionClassBuilder.transformMethod
(MethodModelPREVIEW method, MethodTransformPREVIEW transform) Adds a method by transforming a method from another class.Method parameters in java.lang.classfilePREVIEW with type arguments of type MethodModelPREVIEWModifier and TypeMethodDescriptionstatic 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
(Predicate<MethodModelPREVIEW> filter, MethodTransformPREVIEW xform) Create a class transform that transformsMethodModel
PREVIEW elements with the supplied method transform.