/** * 将bean装换为一个map(不能将枚举转换为int) * * @param bean * @return */ @SuppressWarnings({"rawtypes"}) public static Map describe(Object bean) { try { return BEANUTILSBEAN.describe(bean); } catch (Throwable e) { LOGGER.error("BeanUtil 对象克隆出错:", e); throw new RuntimeException(e); } }