Daniel Zwicker created WICKET-5254:
--------------------------------------

             Summary: Create a possibility to disable increasing of 
getter/setter, filed visibility in PropertyResolver 
                 Key: WICKET-5254
                 URL: https://issues.apache.org/jira/browse/WICKET-5254
             Project: Wicket
          Issue Type: New Feature
            Reporter: Daniel Zwicker
            Priority: Minor


PropertyResolver make it possible to access private fields and setter. This can 
break the contract of the beans . I know this is documented. But especially in 
larger teams not every body knows why a bean is immutable or don't think about 
it even if they know.

It would be nice if there is a possibility to enable some kind of exception if 
the visibility of a property was increased. 

Additional i think a good idea would be to log some warnings in debug mode in 
these situations.   

--
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

Reply via email to