In Anakondo, I’ve used javap, which comes with the JDK. It can list class methods and fields, and it can give you the line number with -l option as well.
Also, it seems JavaParser is also available under Apache License at the user choice, why don’t you just pick to use it as Apache?