News for hackers. Stuff that matters.
Re:Xtend – Modernized Java by IReadYourCode on Saturday April 05, 2014 @01:13PM (#7537648)
Did you have a look at Xtend's Active Annotations? http://www.eclipse.org/community/eclipse_newsletter/2013/mar... You can define your own annotation processors without having to understand Java Byte Code. With Xtend, an annotation processor is basically a small Java code generator that can add/remove/modify classes/interfaces/fields/methods. It's quite awesome for automating design patterns, e.g. generating getters/setters, observer pattern, property objects, delegators, etc.

There are no comments on this comment yet.