The InstructionTargeter interface may be what you want. You may also want to make sure that when you serialize your attribute (in dump(), it would appear), InstructionHandle.getPosition is up to date. You can use InstructionList.setPositions() for that purpose.
On 12/15/05, Emanuele Debenedetti <[EMAIL PROTECTED]> wrote: > > I have created a new attribute using bcel. > This attribute should points at two instructions: > actually I record two integer, but if I delete one or > more instruction this interger become wrong. > > I think that I should create a pointer to an > InstructionHandle like the goto Instruction, but I > have non idea how to do this. > > Could you help me? > > Thanks. > > > > > > > ___________________________________ > Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB > http://mail.yahoo.it > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >