if (bean == null) {
// Unexpected; some kind of foreign implementation?
throw new IllegalArgumentException(object.getClass().getName());
}
RequestContext context = bean.getTag(REQUEST_CONTEXT);
if (!bean.isFrozen() && context != this) {
/*
* This means something is way off in the weeds. If a bean is editable,
* it's supposed to be associated with a RequestContext.
*/