code: public static Object getPropertyValue(StructuralProperty property, Object object) {
          Field field = property.getJavaField();
          field.setAccessible(true);
          try {
              return field.get(object);
          } catch (IllegalAccessException e) {
              throw new ODataSystemException("Cannot read property: " + property + " of object: " + object, e);
          }
      }
docs: Gets the value of a property.
  
  @param property The property.
  @param object   The object to get the value from (typically an OData entity).
  @return The value of the property.