private boolean isJavabeanGetter(IMethod method) throws JavaModelException
    {

        if (method.getNumberOfParameters() == 0 && Flags.isPublic(method.getFlags()))
        {
            String methodName = method.getElementName();

            if (methodName.length() > 3 && methodName.startsWith("get")) //$NON-NLS-1$
            {
                return true;
            }
            else if (methodName.length() > 2 && methodName.startsWith("is") //$NON-NLS-1$
                && ("Z".equals(method.getReturnType()) //$NON-NLS-1$
                || "QBoolean;".equals(method.getReturnType()))) //$NON-NLS-1$
            {
                return true;
            }
        }
        return false;
    }