}
}
Injector injector = null;
if (value instanceof DataObject) {
if (field != null) {
injector = new FieldInjector(field, new SDOObjectFactory((DataObject) value));
} else {
injector = new MethodInjector(method, new SDOObjectFactory((DataObject) value));
}
} else if (JavaIntrospectionHelper.isImmutable(type)) {
if (field != null) {
injector = new FieldInjector(field, new SingletonObjectFactory<Object>(value));
} else {