Gunnar Morling commented on Improvement BVAL-421

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.

How about having BeanDescriptor#getConstrainedMethods(boolean includingGetters)? ExecutableType... type seems also possible, but ExecutableType has values which don't make sense here.

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.

MethodDescriptor#isGetter() might be nice for descriptors returned from getConstraintsForMethod().

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