If a Java comment block immediately before a public class or method declaration begins with /** (rather than just /*) then JavaDoc will extract the text of the comment into the documentation.
JavaDoc can also extract certain key fields from these comment blocks:
@author @version @paramThis is a highly recommended way of allowing all class interfaces to be automatically documented.