add assertion that class doesn't have accessors (so, will be not serialized)

This commit is contained in:
Vladimir Krivosheev
2018-07-19 13:14:04 +02:00
parent 55fcf09bdd
commit efc34bed2e
@@ -306,6 +306,10 @@ public class BeanBinding extends NotNullDeserializeBinding {
}
}
if (accessors.isEmpty()) {
LOG.error("no accessors for " + aClass);
}
ourAccessorCache.put(aClass, accessors);
return accessors;