This content has been marked as final.
Show 2 replies
-
1. Re: KernelScopeInfo and property annotations
adrian.brock Mar 17, 2008 8:57 AM (in response to alesj)You should just add a "getFieldInfo" to the PropertyInfo.
It's then just another "if" statement.
This code is ugly anyway, it is this way because aop has no notion of "property"
instead the annotations must be stored against the "joinpoint", i.e. getters/setters
and now fields. -
2. Re: KernelScopeInfo and property annotations
alesj Mar 17, 2008 9:01 AM (in response to alesj)"adrian@jboss.org" wrote:
You should just add a "getFieldInfo" to the PropertyInfo.
It's then just another "if" statement.
This code is ugly anyway, it is this way because aop has no notion of "property"
instead the annotations must be stored against the "joinpoint", i.e. getters/setters
and now fields.
Plain ugly, but effective. :-)