ocpsoft/rewrite — pull request #19 by chkal (2012-04-06 17:57:00+00:00)
Title: Changed the order in which AnnotatedElements are processed by handlers

Now as the MappingBuilder has been removed and we are directly using the RuleBuilder from the annotation handlers I think it makes sense to change the order in which AnnotatedElements are processed by the handlers.

Currently fields and methods are processed BEFORE the class itself is processed. This patch changes this so that the class is processed first and the fields and method after that.

This change is required for the PrettyFaces 4.0 annotation handlers I'm currently prototyping.