extract variable names using BCEL library

398 Views Asked by At

hi i am using bcel library to read byte code. I needed to extract the variables names.

Any idea how to do it?

1

There are 1 best solutions below

1
On

Note that method-local variable names don't exist at the level of the class file: at the btyecode level, they're just referred to by local variable number. So if you're looking for these, you won't find them...