immutables
https://github.com/immutables/immutables
Java
Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported18 Subscribers
Add a CodeTriage badge to immutables
Help out
- Issues
- Support for Java 14+ records
- [Enhancement] Support different validation for Modifiables vs Immutables
- Change default Mongo UUID representation to STANDARD/v4 (Criteria)
- `addAll = "*"` fails with method is already defined in class Builder
- Multimaps with non-parameterized key does not generate @SafeVarargs annotation, causes "Possible heap pollution from parameterized vararg type" warning
- Immutable DynamoDb Value.Style Suggestions + Documentation Update
- Re-declare exceptions from @Derived in the throws list of .build method
- Generate generic wildcard setters when nested collections are used.
- Generated `With{ValueType}` interface occasionally not generated
- Importing generated Immutable class across sibling packages seems to be buggy
- Docs
- Java not yet supported