title: Java : parse java source code, extract methods
body: <p>I wish to parse java source code files, and extract the methods source code.</p>
  
  <p>I would need a method like this : </p>
  
  <pre><code>/** Returns a map with key = method name ; value = method source code */
  Map&lt;String,String&gt; getMethods(File javaFile);
  </code></pre>
  
  <p>Is there a simple way to achieve this, a library to help me build my method, etc. ?</p>