Uses of Interface
java.lang.classfile.MethodModel
Packages that use MethodModel
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of MethodModel in java.lang.classfile
Methods in java.lang.classfile that return types with arguments of type MethodModelModifier and TypeMethodDescriptionClassModel.methods()Returns the methods of this class.CodeModel.parent()Returns the enclosing method, if known.Methods in java.lang.classfile with parameters of type MethodModelModifier and TypeMethodDescriptionClassBuilder.transformMethod(MethodModel method, MethodTransform transform) Adds a method by transforming a method from another class.Method parameters in java.lang.classfile with type arguments of type MethodModelModifier and TypeMethodDescriptionstatic ClassTransformClassTransform.transformingMethodBodies(Predicate<MethodModel> filter, CodeTransform xform) Creates a class transform that transforms theCodeAttribute(method body) ofMethodModelelements with the supplied code transform for methods that the suppliedPredicatereturns true for, passing other elements through to the builder.static ClassTransformClassTransform.transformingMethods(Predicate<MethodModel> filter, MethodTransform xform) Creates a class transform that transformsMethodModelelements with the supplied method transform for methods that the suppliedPredicatereturns true for, passing other elements through to the builder.