The better way to create JavaBeans from Clojure.
A tiny library to create standards compliant JavaBeans with good performance. Supports primitive types and has the API you always wanted.
(defbean your.java.package.MyBean [[long timestamp] [String channel] [String title] [String diffUrl] [String user] [long byteDiff] [String summary] [boolean minor] [boolean new] [boolean unpatrolled] [boolean botEdit] [boolean special] [boolean talk]])
Note that you need to use an AOT-compiled namespace
defbean to generate the necessary Java class files.
Copyright © 2017 Joel Wilsson
Distributed under the MIT license.