Change By: Grégory Joseph (26/Aug/13 3:56 PM)
Description: Currently, the {{@TransformedBy}} annotation is only supported at method level - i.e on the setter of a given type. However, it could be practical, and probably more useful, to specify it at class level.

The attached patch allows specifying {{@TransformedBy}} on class. It also even allows to specify a transformer on another annotation: if {{@MyAnnotation}} is itself annotated with {{@TransformedBy(SomeTransformer.class)}}, then any class annotated with {{@MyAnnotation}} will be transformed with {{SomeTransformer}}. I had use-case for this with MGNLUI-1826, but this isn't the case anymore.

Attached patch has no tests,
 please  write some before applying.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to