Actually, as it stands, I think the crunch is in:

PropertyAccessorFacetFactory.java:

    @Override
    public boolean isPropertyOrCollectionAccessorCandidate(final Method method) 
{
        final String methodName = method.getName();
        if (methodName.startsWith(MethodPrefixConstants.GET_PREFIX)) {
            return true;
        }
        if (methodName.startsWith(MethodPrefixConstants.IS_PREFIX) && 
method.getReturnType() == boolean.class) {
            return true;
        }
        return false;
    }


Specifically:
methodName.startsWith(MethodPrefixConstants.IS_PREFIX)

We need to extend that, I suppose to a "startsWith" AND a 
"nextLetterIsCapitalised" or something.... ?

Sure, I'll raise a JIRA ticket

Regards,
Kevin


On 6 Feb 2012 at 9:48, Dan Haywood wrote:

> Could you raise a jira issue for this, then (and tag it as #newbie coos it
> sounds like an easy fix)?
> 
> Dan
> 
> Sorry to be brief, sent from my phone
> On Feb 6, 2012 9:38 AM, "Kevin Meyer - KMZ" <[email protected]> wrote:

Reply via email to