Java annotation processors to generate simple, safe, and consistent value objects. Do not repeat yourself, try Immutables, the most comprehensive tool in this field. With Immutables you can generate state-of-the-art immutable objects and builders. Type-safe, null-safe and thread-safe, with no boilerplate. Generate builders for immutable objects and even plain static factory methods. Just add jar to classpath and use. No required runtime dependencies! Guava is supported, but not required. Works out-of-the-box with build tools, integrates into IDEs. Lazy, derived and optional attributes. Comprehensive support for collections as attributes, including Guava collections. Generic parameters. Copy with structural sharing. Singleton and interned instances.

Features

  • Immutables has much higher standards for code readability than other generators
  • Generated APIs are carefully tuned for the best power-to-weight ratio
  • No ugly named identifiers
  • Implementation code is clear, efficient, and have corresponding javadocs
  • Immutables are serialization ready, including JSON and its binary forms
  • Adapt Immutables to your code conventions and tastes

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Immutables

Immutables Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Immutables!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Java

Related Categories

Java Software Development Software

Registered

2023-08-03