Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Glavo/java-annotations

Open more actions menu
 
 

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 the build.gradle file:

dependencies {
    compileOnly 'org.jetbrains:annotations:18.0.0'
}

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

<dependency>
  <groupId>org.jetbrains</groupId>
  <artifactId>annotations</artifactId>
  <version>18.0.0</version>
</dependency>

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

About

Annotations for JVM-based languages.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.