You can get this information using BCEL
The byte code library is designed to provide users with the convenient ability to parse, create, and process (binary) Java class files (those ending in .class). Classes are represented by objects that contain, in particular, all the symbolic information of a given class: methods, fields, and byte code instructions.
Or you can also use the reflection API to retrieve information from the class file.
Jigar joshi
source share