IntelliJ IDEA
 
2025.1
Get IntelliJ IDEA

Javadocs

Last modified: 04 April 2025

Javadoc comments are special comments used to provide a description of the code element located below them. They begin with /** and end with */ and can contain tags marked with @ with specific metadata.

Example of a Javadoc comment

Javadoc is a tool provided by Java to generate HTML documentation from Javadoc comments. You can generate an API reference for your project using the Javadoc tool that comes with your JDK. IntelliJ IDEA provides integration with the tool and allows you to build reference guides right from the IDE.

Learn more about the correct format of Javadocs, style guide, terms and conventions from How to Write Doc Comments for the Javadoc Tool.