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 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(Predicate<MethodModelPREVIEW> filter, MethodTransformPREVIEW xform) Create a class transform that transformsMethodModelPREVIEW elements with the supplied method transform.