title: The best way to comment code in Java
body: <p>What's the best way to comment code in Java, is there a way to generate the function name and the parameters automatically in Eclipse ?</p>
  
  <p>For example I'm writting those comments manually :</p>
  
  <pre><code>// &lt;summary&gt;
  // Some comments about the function
  // &lt;/summary&gt;
  // &lt;param name="id"&gt;the user ID&lt;/param&gt;
  // &lt;param name="username"&gt;The user password&lt;/param&gt;
  // &lt;returns&gt;&lt;/returns&gt;
  public Connect(int id, String password)
  {
  
  }
  </code></pre>
  
  <p>Thanks already.</p>