Registry / build-tool / animal-sniffer-annotations

animal-sniffer-annotations

JSON →
library1.27javamavenunverified

Provides annotations for Animal Sniffer to mark APIs that are only available on certain Java versions, aiding in cross-version compatibility checks.

<dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-annotations</artifactId> <version>1.27</version> </dependency>
INSTALL
IMPORT
SIG · ANIMAL-SNIFFER-ANN
A
animal-sniffer-annotations
build-tooljavav1.27
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.

IgnoreJRERequirement
org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement

Annotates a method to suppress Animal Sniffer warnings about using APIs from a newer JRE.

import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement; public class Example { @IgnoreJRERequirement public void useNewApi() { // Code that uses a Java API not available in older versions } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.27latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
28
OpenAI (training)
1
Resources
animal-sniffer-annotations — mvn dependency:get animal-sniffer-annotations · libregistry