public static Method getAccessor(String prefix, String property, Class<?> bean) {
        try {
            return bean.getMethod(prefix + capitalize(property));
        } catch (NoSuchMethodException e) {
            return null;
        }
    }
BeanUtils provides JavaBean compliant property de/capitalization functionality

@author tiwe
querydsl-core/src/main/java/com/querydsl/core/util/BeanUtils.java