Yes, the first step is to write "javadoc comments" in the right way for any class/member you want (not necessarily all).
About this, see also (besides link provided by PhHein): javadoc-The Java API...