Firestarter
Firestarter

Reputation: 21

extract variable names using BCEL library

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

Any idea how to do it?

Upvotes: 2

Views: 386

Answers (1)

Neil Coffey
Neil Coffey

Reputation: 21815

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...

Upvotes: 3

Related Questions