Uses of Interface
java.lang.classfile.MethodModel
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of MethodModelPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionClassModel.methods()
Returns the methods of this class.CodeModel.parent()
Returns the enclosing method, if known.Modifier and TypeMethodDescriptionClassBuilder.transformMethod
(MethodModelPREVIEW method, MethodTransformPREVIEW transform) Adds a method by transforming a method from another class.Modifier 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.