I have implemented an Editor for the array fetch and store bytescodes.
There is one, possibly significant, limitation at present. For object arrays,
it does not know the type. The reason is that this is not trivially
apparent from the bytecodes (unlike calls, for example, where you a
signature, and fields give their declared type).
I have begun writing the code necessary to propagate type information
(similar to what is needed in a bytecode verifier, but limited just to this
purpose), but won't have the chance to finish it for a while.
Note that this just intercepts every usage at a particular code point.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000251#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...