Generally the BV API handles getters as any other methods, their exclusion applies to the integration aspects only (@ValidateExecutable and validated-executable-types), so I think getters should be returned by the metadata API.
-1 I think the spec is very clear about this. Getters are not considered methods (in the method validation sense).
How about having BeanDescriptor#getConstrainedMethods(boolean includingGetters)? ExecutableType... type seems also possible, but ExecutableType has values which don't make sense here.
Not sure I like it. It adds yet another special case. Regarding ExecutableType - having NONE and ALL make it not a good fit either.
That way an integrator could do a quick check whether interception is required based on the current executable type config. I'm not sure whether hasConstrainedExecutables() is still required then.
In the end we talk about integrator code. I think it is not so bad if they have to jump through some more hoops.
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
-1 I think the spec is very clear about this. Getters are not considered methods (in the method validation sense).
Not sure I like it. It adds yet another special case. Regarding ExecutableType - having NONE and ALL make it not a good fit either.
In the end we talk about integrator code. I think it is not so bad if they have to jump through some more hoops.