moremore0812 / cqengine

Automatically exported from code.google.com/p/cqengine
0 stars 0 forks source link

Auto-generate attributes #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to auto-generate the source code for SimpleAttributes and 
MultiValueAttributes using reflection automatically using reflection.

Note this would be different from defining attributes at runtime using 
reflection (using ReflectiveAttribute etc). Attributes generated here as source 
code, would not use reflection at runtime and would be as fast as hand-written 
attributes.

Original issue reported on code.google.com by ni...@npgall.com on 16 Sep 2013 at 11:03

GoogleCodeExporter commented 9 years ago
Initial source commit: 
http://code.google.com/p/cqengine/source/browse/cqengine/trunk/src/main/java/com
/googlecode/cqengine/codegen/

Original comment by ni...@npgall.com on 16 Sep 2013 at 11:07

GoogleCodeExporter commented 9 years ago
Implemented in CQEngine 1.2.2. Deployed to Maven central.

Example usage in wiki page AttributesGenerator.

Original comment by ni...@npgall.com on 22 Sep 2013 at 9:32