Field[] (@NotNull Object value) { //RC: collect through all the hierarchy seems too dangerous //return ReflectionUtil.collectFields(value.getClass()).toArray(Field[]::new); return value.getClass().getDeclaredFields(); }