Registry / utility / auto-value-annotations

auto-value-annotations

JSON →
library1.11.1javamavenunverified

Annotations for Google AutoValue, a source code generator that creates immutable value classes for Java 8+.

<dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value-annotations</artifactId> <version>1.11.1</version> </dependency>
INSTALL
IMPORT
SIG · AUTO-VALUE-ANNOTAT
A
auto-value-annotations
utilityjavav1.11.1
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.

AutoValue
com.google.auto.value.AutoValue

Define an immutable value class using AutoValue

import com.google.auto.value.AutoValue; @AutoValue public abstract class Person { public abstract String name(); public abstract int age(); public static Person create(String name, int age) { return new AutoValue_Person(name, age); } }
Debug
Known issues
gotchaAutoValue requires annotation processing to be enabled in your build tool.
fix
Add the auto-value-annotations dependency and configure your build tool for annotation processing (e.g., Maven compiler plugin with annotationProcessorPaths).
affects: *
Upgrade
Version history
1.11.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
auto-value-annotations — mvn dependency:get auto-value-annotations · libregistry