title: is it possible to get full line method uisng AST Parser?
body: <p>I want to ask, is it possible to get full line method using AST Parser in java file?</p>
  
  <p>example:</p>
  
  <pre><code>public double getAverage(int[] data) {
  }
  </code></pre>
  
  <p>i only get method name (<code>getAverage</code>) using <code>MethodDeclaration</code>, while i hope full line <code>(public double getAverage(int[] data) {</code></p>
  
  <p>The second question, how to read closing of the method ( <code>}</code> ) ?</p>
  
  <p>Thanks :)</p>