LocalVariableGen appearing twice in InstructionTargeters list

Felix Dorner <[email protected]> Fri, 3 Jul 2009 12:20:26 +0200
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <FC95BD382E2CF447BAA1B2AF1F9FFFE602628AD2C4@MX034ZED0001.TIFDOM.COM>
Hey,

I can see a LocalVariableGen _twice_ in the InstructionTargeter list for th=
e first InstructionHandle of a method. Why would this happen? The LocalVari=
ableGen is the one that represents the 'this' variable.=20

I assume the LocalVariableGen is an InstructionTargeter because it maintain=
s the 'start' and 'end' instructions which defines the scope of the variabl=
e?

The first instruction is always the 'start' instruction for the 'this' vari=
ables scope right? This would explain why the LocalVariableGen has it targe=
ted.


Thanks for hints,
Felix  =