Is it possible to attach metadata to a Clojure gen-class?
I am trying to implement a server that uses a library that requires Java annotations added to classes.
From Chas Emerick's, et al., forthcoming book "Programming Clojure" (section 9.7.3), adding annotations to gen-class methods is easy, but there is no mention of adding class-level annotations.
deftype
instead ofgen-class
for my JAX-RS REST Server, following the example in Chas's book. It appears to be "cleaner". – Seaside