LocalVariableTableAttribute
Mark Roberts
markro at cs.washington.edu
Mon Dec 2 18:53:11 UTC 2024
First, a more general question about attributes. There are a number of
these items that are not directly exposed as a MethodELement or a
CodeElement. How and when do these attributes get ‘built’, i.e., copied to
the output class?
The LocalVariableTable needs to be modified as part of our
instrumentation. I see how to build a LocalVariableTalbeAttribute with the
‘of()’ method, but how do I replace the existing table?
Also, what is the relationship between the LocalVariableTable and the
LocalVariable CodeElement? Are they duplicate information? Or perhaps one
is derived from the other?
Thank you,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/classfile-api-dev/attachments/20241202/4367678c/attachment.htm>
More information about the classfile-api-dev
mailing list