title: Java Javadoc include Private
body: <p>I would like to generate javadocs for my application and i would also like to include private members.</p>
  
  <p>I have found the following in the <a href="http://java.sun.com/javase/6/docs/tooldocs/windows/javadoc.html#javadocoptions" rel="noreferrer">Javadoc documentation</a></p>
  
  <p><pre>       -private
             Shows all classes and members.
  </pre></p>
  
  <p>Could you please help me by giving an example of the execution of this?</p>
  
  <p>It should be something like: <code>javadoc -private ...</code>. I need to know how to provide the root directory and destination directory for the generated html doc files.</p>
  
  <p>thank you.</p>
  
  <p><strong>EDIT:</strong> i found a way to generate javadoc from NetBeans 6.8. this is as follows:</p>
  
  <p>NetBeans Java projects typically have a parameter for this in the project’s properties section. You can right-click the project name in the Projects Window and select Properties. In the Project Properties window that appears, the Documenting node contains a checkbox field labeled ‘Include Private and Package Private Members’.</p>
  
  <p>i found this <a href="http://pronetbeans.com/?p=40" rel="noreferrer">here</a></p>
  
  <p>seems to generate docs as desired. thank you everyone.</p>