return null;
}
OperationSelectorFactory<T> operationSelectorFactory = OperationSelectorFactory.getOperationSelectorFactory(getTargetClass());
if (model instanceof JavaOperationSelectorModel) {
JavaOperationSelectorModel javaModel = JavaOperationSelectorModel.class.cast(model);
return operationSelectorFactory.newOperationSelector((Class<OperationSelector<T>>)Classes.forName(javaModel.getClazz()), javaModel);
} else {
return operationSelectorFactory.newOperationSelector(operationSelectorFactory.getDefaultOperationSelectorClass(), model);
}
}