Answer by kiritsuku for Is it possible to implement something akin to Scala's...
Update: This answer is not valid anymore. See Eugenes comment. No, it is not yet possible. In 2.10 there exists only def macros that can't do anything comparable. For 2.11 the world is a bit better,...
View ArticleIs it possible to implement something akin to Scala's @BeanProperty with macros?
I would like to create an annotation or trait that adds methods to an object at compile time dynamically, based on existing fields. Although I'm interested in something at the class-level, I'd also...
View Article
More Pages to Explore .....