MethodBuilder (Java SE 26 & JDK 26)
- All Superinterfaces:
ClassFileBuilder<MethodElement, MethodBuilder>, Consumer<MethodElement>
-
Method Summary
Build the method body for this method by transforming the body of another method.
Build the method body for this method.
withFlags(int flags) Sets the method access flags.
Sets the method access flags.
Methods declared in interface ClassFileBuilder
accept, constantPool, transform, withdefault voidIntegrates the member element into the structure being built.
Returns the constant pool builder associated with this builder.
Applies a transform to a compound structure, directing results to this builder.
Integrates the member element into the structure being built.
-
Method Details
-
withFlags
-
withFlags
-
withCode
-
transformCode
-