protected static String getPropertyNameFromBeanReadMethod(Method method) {
        if (isBeanPropertyReadMethod(method)) {
            if (method.getName().startsWith("get")) {
                return method.getName().substring(3, 4).toLowerCase()
                    + method.getName().substring(4);
            }
            if (method.getName().startsWith("is")) {
                return method.getName().substring(2, 3).toLowerCase()
                    + method.getName().substring(3);
            }
        }
        return null;
    }
@Test
    public void testGetPropertyNameFromBeanReadMethod() throws Exception {
        Method method = TestReflect.class.getMethod("getS");
        Assert.assertEquals("s", getPropertyNameFromBeanReadMethod(method));

        method = TestReflect.class.getMethod("getName");
        Assert.assertEquals("name", getPropertyNameFromBeanReadMethod(method));

        method = TestReflect.class.getMethod("isB");
        Assert.assertEquals("b", getPropertyNameFromBeanReadMethod(method));

        method = TestReflect.class.getMethod("is");
        Assert.assertNull(getPropertyNameFromBeanReadMethod(method));
    }