[
https://issues.apache.org/jira/browse/LABS-305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Gianni resolved LABS-305.
--------------------------------
Resolution: Won't Fix
This feature is not needed, because :
- If you need to centralize access to a field, to properly init or manipulate
it, you can do it in a method inside the handler, having also a couple of
slight advantages :
... not being inside a getter or setter : so, having the ability to both read
and set the field)
... calling on request, so optimizing performances
- In recent versions of AspectJ, fields introduced using ITD are correctly
matched by the get and set pointcut, so no need to use getters and setters
- The logic of having a single getter and a single setter being called both by
the user code and the framework was a problem
Moreover, conversion is not customizable right now, validation is rarely
needed, so no need to add annotations to methods.
> [web] Bind on setters/getters when they are present, to give better handling
> ----------------------------------------------------------------------------
>
> Key: LABS-305
> URL: https://issues.apache.org/jira/browse/LABS-305
> Project: Labs
> Issue Type: Improvement
> Components: Magma
> Affects Versions: Current
> Reporter: Simone Gianni
> Assignee: Simone Gianni
> Fix For: Current
>
>
> See comments on LABS-301.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]