Demonstrates typical and less typical usages of Immutables Java library.
Take a look at the included unit tests in this project for the demonstration code.
If you want to compile the project using IDEA javac
(instead of delegating this task to Gradle) then enable annotation processing:
- Open File | Settings | Build, Execution, Deployment | Compiler | Annotation Processors
- Check Enable annotation processing