Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - List all the classes with their methods

Tags:

java

eclipse

I have a java project (in fact, an Android project), and I need to print in a file all the classes and methods that I have in this project.

I've been looking over the web and found the javap tool, which is interested but I don't know how to use it recursively in order to parse all the .java files that I have. Or maybe another tool exists?

like image 229
hico Avatar asked Apr 25 '26 11:04

hico


1 Answers

What format do you need of this output file?

Eclipse can export the javadoc for your project. These html files will contain all of the classes and their methods.

I believe you can also specify a 'custom doclet' which will allow you to customize the output.

like image 93
Colin D Avatar answered Apr 28 '26 01:04

Colin D



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!