athos / JiSE

JiSE: Java in S-Expression
Eclipse Public License 2.0
104 stars 2 forks source link

Annotations? #12

Open joinr opened 3 years ago

joinr commented 3 years ago

Curious how much additional effort would be required for annotations. I am helping work through porting an example from optaplanner which is "heavily" class-based and requires lots of annotations to communicate with the framework. Most of clojure's deftype (with annotation support) worked here, however we end up with problems since the field types are "always" Object, regardless of typehint. So optaplanner will complain that the field does not return a constrained type (List or array). Looking at custom bytecode generation with insn, but I figured I would see if JiSE could be closer...