Ah. I was reading isParameterConstrained as the singular executable constrained by parameters… which makes a lot less sense now than it seemed to earlier! Another one in favour of hasConstrainedParameters() then.<br><br><br>
On Thursday, 28 February 2013, Emmanuel Bernard &lt;<a href="mailto:emmanuel@hibernate.org">emmanuel@hibernate.org</a>&gt; wrote:<br>&gt; hasConstrainedParameters() is better that the current situation.<br>&gt; But then we also need to move to hasConstrainedReturnValue().<br>
&gt;<br>&gt; <a href="https://hibernate.onjira.com/browse/BVAL-432">https://hibernate.onjira.com/browse/BVAL-432</a><br>&gt;<br>&gt; Rich, we could not find a use case for ExecutableDescriptor hosting<br>&gt; isExecutableConstrained() and the singular isParameterConstrained does<br>
&gt; not work here as we are looking at the method aggregating all params<br>&gt; for a given executable.<br>&gt;<br>&gt; Emmanuel<br>&gt;<br>&gt; On Thu 2013-02-28 10:06, Matt Benson wrote:<br>&gt;&gt; My vote is for #hasConstrainedParameters().<br>
&gt;&gt;<br>&gt;&gt; Thanks,<br>&gt;&gt; Matt<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On Thu, Feb 28, 2013 at 7:59 AM, Rich Midwinter &lt;<a href="mailto:rich.midwinter@gmail.com">rich.midwinter@gmail.com</a>&gt;wrote:<br>&gt;&gt;<br>
&gt;&gt; &gt; Perhaps worth mentioning we have BeanDescriptor#isBeanConstrained() too in<br>&gt;&gt; &gt; 1.0. So at first glance I&#39;d probably suggest isParameterConstrained() and<br>&gt;&gt; &gt; also isExecutableConstrained().<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt; Rich<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; On Thursday, 28 February 2013, Gunnar Morling &lt;<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>&gt;<br>&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt; &gt; Hi all,<br>&gt;&gt; &gt; &gt; Hardy and I were wondering whether the method<br>&gt;&gt; &gt; name ExecutableDescriptor#areParametersConstrained() is the best choice.<br>&gt;&gt; &gt; &gt; The name seems a bit unintuitive, when e.g. looking via auto-completion<br>
&gt;&gt; &gt; for boolean getter methods which typically start with &quot;is&quot; or &quot;has&quot;. Maybe<br>&gt;&gt; &gt; &gt; * &quot;isParameterConstrained()&quot; (as in &quot;is constrained on at least one<br>&gt;&gt; &gt; parameter&quot;) or<br>
&gt;&gt; &gt; &gt; * &quot;hasConstrainedParameters()&quot; would be better alternatives?<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; The latter would also nicely match with<br>&gt;&gt; &gt; BeanDescriptor#hasConstrainedExecutables().<br>
&gt;&gt; &gt; &gt; WDYT?<br>&gt;&gt; &gt; &gt; --Gunnar<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt; beanvalidation-dev mailing list<br>&gt;&gt; &gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>&gt;&gt; &gt;<br>&gt;<br>&gt;&gt; _______________________________________________<br>
&gt;&gt; beanvalidation-dev mailing list<br>&gt;&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
&gt;<br>&gt; _______________________________________________<br>&gt; beanvalidation-dev mailing list<br>&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.jboss.org</a><br>&gt; <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev">https://lists.jboss.org/mailman/listinfo/beanvalidation-dev</a><br>
&gt;