modifying a newly added method

Mark Roberts markro at cs.washington.edu
Tue Apr 15 17:15:32 UTC 2025


If I have added a new method to my classfile with
ClassBuilder.withMethod(...) I know it is not added to ClassModel.methods()
as that is an immutable list from the original, unmodified classfile.  Is
there any way to get a MethodModel for this new method in order to modify it
further?

Thank you,
Mark


More information about the classfile-api-dev mailing list