Access rules should be able to limit access to or from a particular method, either by extending the access rule itself, or by extending patterns. For example, it should be possible to formulate rule such as the following:
- Classes "**DisplayOnly" may not access methods "set*" of classes in "myapp.model.*"
- Only the methods "load()" and "save()" may access "java.io.**" in the classes "myapp.prefs.**"
Log in to post a comment.