One thing to look at for Java would be auto&#x2F;value (Immutable value-type code generation for Java 1.6+ by Google)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;auto&#x2F;tree&#x2F;master&#x2F;value" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;auto&#x2F;tree&#x2F;master&#x2F;value</a><p>Not the same as what you reference in the other languages, but useful if you find yourself dealing with it in java.