How to create a Java class with a private final field in Clojure?
ClojureDocs for gen-class say that state field will be public
:state name
If supplied, a public final instance field with the given name will be created.
So, in other words, do we have a way to create a class and after this a java object with the encapsulated state?
@alexmiller answered on this question recently here