Registry / utility / auto-value

auto-value

JSON →
library1.11.1javamavenunverified

AutoValue is a code generator that creates immutable value classes in Java, reducing boilerplate for equals, hashCode, and toString.

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

Shows how to 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 (e.g., Maven compiler plugin or Gradle annotation processor).
fix
Ensure your build configuration includes the auto-value-annotations dependency and enables annotation processing.
affects: *
Upgrade
Version history
1.11.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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