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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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