Hi Warren,

Clojure doesn't try to be support every possible feature of Java when 
generating Java classes, it just provides enough for interop purposes. 
Annotations have always been a weak area. I don't know if annotations on 
constructor arguments in `gen-class` are supported, but my suspicion is they 
are not.

A patch would be possible - the `gen-class` code is written mostly in 
Clojure. But the easier solution for now would be to write a small class in 
Java and `:extend` it in your gen-class.

-Stuart Sierra
clojure.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to