<< Back to previous view

[CLJCLR-27] Add more support for attributes in gen-class Created: 07/Dec/13  Updated: 16/Aug/14  Resolved: 22/Jun/14

Status: Resolved
Project: ClojureCLR
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: David Miller Assignee: David Miller
Resolution: Completed Votes: 1
Labels: None


For example, to support COM interop, it would be nice to annotate the gen-class'd class with

[ComImport, Guid("E436EBB3-524F-11CE-9F53-0020AF0BA770")]

We already have attribute support for definterface, deftype, gen-interface, so this should be easy to do.

Comment by Antti Karanta [ 23/Jun/14 2:05 AM ]

Great! Is there any how-to documentation for this feature as of yet?

Comment by David Miller [ 16/Aug/14 3:15 PM ]

There is some code. Look at


Also look at


Comment by David Miller [ 16/Aug/14 3:16 PM ]

And I added support for attaching attributes to gen-class'd classes in this commit:


Generated at Wed Jan 17 09:28:43 CST 2018 using JIRA 4.4#649-r158309.