Annotations for JVM-based languages.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 984b59d Oct 19, 2018

Annotations for JVM-based languages

official JetBrains project License Maven Central

A set of Java annotations which can be used in JVM-based languages. They serve as an additional documentation and can be interpreted by IDEs and static analysis tools to improve code analysis.

Using the annotations

The annotations are published on Maven Central and JCenter. To add a dependency using gradle write the following in build.gradle file:

dependencies {
    compile 'org.jetbrains:annotations:16.0.3'

To add a dependency using Maven write the following in pom.xml:


annotations artifact require JDK 1.8 or higher. If your project is compiled using JDK 1.5, 1.6 or 1.7 you can use annotations-java5 artifact instead.