Hi Gunnar,

Wow, that's a lot to digest.  Haven't slept yet.  ;-)

1. resteasy-validator-provider-10 is an atavism.  I didn't mean to 
commit it.

2. The JAX-RS spec rules out constraints on constructors.

3. The distinction between field and property is NOT mandated by the 
JAX-RS spec.  That was mine.  The JAX-RS is silent on the format of 
reporting violations, so I just threw it in.

4. Ah, yeah, forgot about "isFoo()".

5. Re: |BootstrapConfiguration#isExecutableValidationEnabled()| and 
|getDefaultValidatedExecutableTypes(). I don't think the JAX-RS spec 
says anything about global configuration, so I haven't implemented it.  
Maybe should do ... .

6. Re: "||The configuration from overridden methods must take 
precedence." Yep, you're right.

7. Re: "||@ValidateOnExecution| can also be given on implemented 
interfaces."  Right again.

I'll get these changes in soon.

Thanks, Gunnar.

-Ron

On 06/04/2013 11:11 AM, Gunnar Morling wrote:
>
> In 
> jaxrs/providers/resteasy-validator-provider-11/src/main/java/org/jboss/resteasy/plugins/validation/GeneralValidatorImpl.java:
>
> > +   {
> > +      String name = m.getName();
> > +      Class<?> returnType = m.getReturnType();
> > +      if (returnType.equals(Void.class))
> > +      {
> > +         return false;
> > +      }
> > +      if (m.getParameterTypes().length > 0)
> > +      {
> > +         return false;
> > +      }
> > +      if (name.startsWith("get"))
> > +      {
> > +         return true;
> > +      }
> > +      if (name.startsWith("is") && returnType.equals(Boolean.class))
>
> I think the "is" prefix is only allowed for getters returning a 
> primitive |boolean| as per the JavaBeans spec.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/resteasy/Resteasy/pull/317/files#r4524849>.
>

-- 
My company's smarter than your company (unless you work for Red Hat).