/** * Checks that an object's List field described by this property is set, injecting a * List if needed. */ protected ValueHolder ensureCollectionValueHolderSet(Object object) throws PropertyException { Object value = accessor.getValue(object); if (value == null || value instanceof Fault) { value = createCollectionValueHolder(object); accessor.setValue(object, value); } return (ValueHolder) value; }