So my initial take is that getters should be returned as the spec does not honor @ValidateExecutable but that makes hasConstrainedExecutables() pretty useless. Even getConstrainedMethods() becomes harder to use in fact.
I have a few solution proposals:
add a isGetter() to the MethodDescriptor and MethodNode as an easy way to filter them out
remove hasConstrainedExecutables() entirely
or change hasConstrainedExecutables() to accept ExecutableType => hasConstrainedExecutable(ExecutableType... types)
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
So my initial take is that getters should be returned as the spec does not honor @ValidateExecutable but that makes hasConstrainedExecutables() pretty useless. Even getConstrainedMethods() becomes harder to use in fact.
I have a few solution proposals: