List<MutableAccessor> (Class<?> aClass) { // do not pass classToOwnFields cache - no need because we collect the whole set of accessors List<MutableAccessor> result = PropertyCollector.doCollect(aClass, configuration, null); if (result.isEmpty() && !isAssertBindings(aClass)) { //noinspection deprecation if (JDOMExternalizable.class.isAssignableFrom(aClass)) { LOG.error("Do not compute bindings for JDOMExternalizable: " + aClass.getName()); } else if (aClass.isEnum()) { LOG.error("Do not compute bindings for enum: " + aClass.getName()); } else if (aClass == String.class) { LOG.error("Do not compute bindings for String"); } LOG.warn("no accessors for " + aClass.getName()); } return result; }