Uses of Interface
io.smallrye.classfile.MethodBuilder
Packages that use MethodBuilder
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of MethodBuilder in io.smallrye.classfile
Methods in io.smallrye.classfile that return MethodBuilderModifier and TypeMethodDescriptionMethodBuilder.transformCode(CodeModel code, CodeTransform transform) Build the method body for this method by transforming the body of another method.MethodBuilder.withCode(Consumer<? super CodeBuilder> code) Build the method body for this method.default MethodBuilderMethodBuilder.withFlags(int flags) Sets the method access flags.default MethodBuilderMethodBuilder.withFlags(AccessFlag... flags) Sets the method access flags.Method parameters in io.smallrye.classfile with type arguments of type MethodBuilderModifier and TypeMethodDescriptionstatic MethodTransformMethodTransform.endHandler(Consumer<MethodBuilder> finisher) Creates a method transform that passes each element through to the builder, and calls the specified function when transformation is complete.ClassBuilder.withMethod(Utf8Entry name, Utf8Entry descriptor, int methodFlags, Consumer<? super MethodBuilder> handler) Adds a method.default ClassBuilderClassBuilder.withMethod(String name, MethodTypeDesc descriptor, int methodFlags, Consumer<? super MethodBuilder> handler) Adds a method.