Registry / utility / annotations-java5

annotations-java5

JSON →
library24.1.0javamavenunverified

A set of annotations for code inspection support and documentation, compatible with Java 5.

<dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations-java5</artifactId> <version>24.1.0</version> </dependency>
INSTALL
IMPORT
SIG · ANNOTATIONS-JAVA5
A
annotations-java5
utilityjavav24.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NotNull
org.jetbrains.annotations.NotNull

Use @NotNull to indicate a parameter should never be null.

import org.jetbrains.annotations.NotNull; public void greet(@NotNull String name) { System.out.println("Hello, " + name); }
Debug
Known issues
gotchaAnnotations may not be retained at runtime by default; use @Retention(RetentionPolicy.RUNTIME) if needed.
fix
Add @Retention(RetentionPolicy.RUNTIME) to custom annotations or rely on compile-time checks.
affects: all
Upgrade
Version history
24.1.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
OpenAI (training)
2
Meta
1
Resources
annotations-java5 — mvn dependency:get annotations-java5 · libregistry