List<Value> (@NotNull String instanceName, @NotNull Object instance) { Class<?> cls = instance.getClass(); List<Value> ret = new ArrayList<>(); ClassSerializer serializer = new ClassSerializer(instanceName, instance); for (Field field : cls.getFields()) { field = ClassSerializer.getPreparedField(field); if (field == null || field.getName().endsWith("_FORCE")) continue; try { ret.add(buildFValue(field, instance, serializer)); } catch (IllegalAccessException e) { e.printStackTrace(); } } return ret; }