<< Back to previous view

[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: Text File clj-948-annotate-gen-class-constructors-patch3.txt     Text File CLJ-948.patch    
Patch: Code and Test
Approval: Ok


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.

Comment by Andy Fingerhut [ 09/Mar/12 9:15 AM ]

clj-948-annotate-gen-class-constructors-patch2.txt same as Kevin's CLJ-948.patch, but with slight update so it applies cleanly to latest master as of March 9, 2012. ant builds and tests with no errors or warnings. One author Kevin Downey has signed CA.

Comment by Kevin Downey [ 09/Mar/12 9:27 AM ]


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.

Generated at Tue Sep 25 04:03:36 CDT 2018 using JIRA 4.4#649-r158309.