Naming Arrays

Shrinivas Joshi <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
Hi,
  Is there any way by which some sort of special attribute can be
assigned to instructions. like for e.g. is it possible to assign a name to
array created using InstructionFactory.createNewArray(). The problem that
I am facing is because of not being able to distinguish between
instructions of original class file from that of instructions being added
to that class file using BCEL.

I want to perform some action on array instructions. Before doing that I
I am also adding some array instructions to the class file in some
other step.

So when I perform modification of array instructions, the array
instructions added in the first step also get modified. Previously I
distinguished between such instructions by adding NOPs before modified
instruction. However, I was wondering whethere this can be done more
elegantly.

Hope I have made my point clear.

Thanks and Regards
Shrinivas Joshi.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.