code: public static Object getProperty(final Object bean, final String name) throws NoSuchFieldException, IllegalAccessException {
          Field field = bean.getClass().getDeclaredField(name);
          field.setAccessible(true);
          return field.get(bean);
      }
docs: 获取属性
  @param bean
  @param name
  @return