Perhaps worth mentioning we have BeanDescriptor#isBeanConstrained() too in 1.0. So at first glance I'd probably suggest isParameterConstrained() and also isExecutableConstrained().<br><br>Rich<br><br>On Thursday, 28 February 2013, Gunnar Morling <<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>> wrote:<br>
> Hi all,<br>> Hardy and I were wondering whether the method name ExecutableDescriptor#areParametersConstrained() is the best choice.<br>> The name seems a bit unintuitive, when e.g. looking via auto-completion for boolean getter methods which typically start with "is" or "has". Maybe <br>
> * "isParameterConstrained()" (as in "is constrained on at least one parameter") or <br>> * "hasConstrainedParameters()" would be better alternatives?<br>><br>> The latter would also nicely match with BeanDescriptor#hasConstrainedExecutables().<br>
> WDYT?<br>> --Gunnar<br>>