IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Annotations

Last modified: 10 August 2022

Java annotations are pieces of metadata that provide information about the code they are used with, and can instruct the IDE how to process this code.

In Java, there is a set of built-in annotations. On top of that, IntelliJ IDEA provides a collection of annotations that are available as a separate project. You can add them to the classpath and use in your code.