I did the following with it and it worked nicely for me -
javac GenerateProperties.javaIf you are running your program from IDE, if you have several modules in your classpath (i.e. their target/classes/) and/or zip/jar(s) it will also search through them to list the methods. I am thinking of making a small framework, or API, out of it. I would like some enhancements on this code, please feel free to send them to me.
java -cp /opt/jdk1.6.0_01/jre/lib/rt.jar:./ GenerateProperties