[CLJ-948] It would be very useful to be able to annotate the constructors of classes created with gen-class Created: 06/Mar/12 Updated: 20/Oct/12 Resolved: 20/Oct/12 |
|
| Status: | Closed |
| Project: | Clojure |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Release 1.5 |
| Type: | Enhancement | Priority: | Major |
| Reporter: | Kevin Downey | Assignee: | Chouser |
| Resolution: | Completed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
| Patch: | Code and Test |
| Approval: | Ok |
| Description |
|
gen-class currently provides a way to annotate methods, but not constructors. when interoperating with java code that uses google juice heavily the ability to annotate constructors is required. |
| Comments |
| Comment by Andy Fingerhut [ 09/Mar/12 9:15 AM ] |
|
clj-948-annotate-gen-class-constructors-patch2.txt same as Kevin's |
| Comment by Kevin Downey [ 09/Mar/12 9:27 AM ] |
|
http://www.s2ki.com/s2000/uploads/gallery/1288955707/gallery_99130_32179_14062581294cd627112ab1f.gif |
| Comment by Andy Fingerhut [ 26/Mar/12 5:52 PM ] |
|
clj-948-annotate-gen-class-constructors-patch3.txt on Mar 26, 2012 is no different from previous patches, except that it applies cleanly to latest master as of that date. One author Kevin Downey has signed a CA. Kevin, you don't need to thank me again. The last time gave me eye damage (only joking). |
| Comment by Chouser [ 18/Sep/12 12:40 AM ] |
|
Patch is small and is a nice improvement. Tests look good and pass. |