Registry / utility / jsr305

jsr305

JSON →
library3.0.2javamavenunverified

JSR305 Annotations for Findbugs provides annotations like @Nullable and @Nonnull for static analysis tools.

<dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency>
INSTALL
IMPORT
SIG · JSR305
J
jsr305
utilityjavav3.0.2
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.

Nullable
javax.annotation.Nullable

Using @Nullable to indicate a parameter can be null.

import javax.annotation.Nullable; public class Example { public void process(@Nullable String input) { if (input != null) { System.out.println(input.length()); } } }
Debug
Known issues
breakingJSR 305 annotations are not part of the Java standard library and may cause compatibility issues with newer Java versions.
fix
Consider using org.jspecify:jspecify or jakarta.annotation:jakarta.annotation-api for modern alternatives.
affects: >=3.0.0
Upgrade
Version history
3.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jsr305 — mvn dependency:get jsr305 · libregistry