public static boolean isAccessorPresent(String prefix, String property, Class<?> bean) {
        try {
            bean.getMethod(prefix + capitalize(property));
            return true;
        } catch (NoSuchMethodException ex) {
            return false;
        }
    }
BeanUtils provides JavaBean compliant property de/capitalization functionality

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