immutables/immutables
Java annotation processor to create immutable objects and builders, for records too. Sweep boilerplate code under the rug! observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 95
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 18.0
- age_days: 4805
- days_rel: 108
- days_push: 33
- n_releases_24m: 11
Adoption not part of the score
3570 stars · 295 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Java annotation processor that generates immutable value classes, builders, and copy-with methods from interfaces, abstract classes, and records. It eliminates boilerplate while supporting Jackson/Gson JSON integration and extensive customization via styles.
Use cases
- generate builders for java records
- create immutable value objects in java
- reduce boilerplate for data classes
- generate immutable collections wrappers
- jackson serialization for immutable classes
- generate with* copy methods for value objects
When to choose
- you want thread-safe immutable data types without hand-writing builders
- you need generated builders for records or abstract value types
- you want JSON (Jackson/Gson) support for immutable models
- you prefer annotation-processor codegen over runtime reflection
When to avoid
- you use Kotlin or another language with built-in data classes
- you need mutable entities like JPA/Hibernate entities
- your build cannot tolerate annotation processing overhead
Facets
library · maturity active
serialization developer-tools developer-tools programming-languages jvm annotation-processor immutable-objects builder-pattern jackson gson java-records boilerplate-reduction
2 sources
- readme: https://github.com/immutables/immutables · fetched 2026-08-28 · 97d907b028f3
- homepage: http://immutables.org · fetched 2026-08-29 · bc452f16efaf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| immutables/immutables | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="immutables/immutables")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem