/** * Creates a new instance of <code>MetadataModelReadHelper</code>. * * @param model a metadata model; cannot be null. * @param action an action to be executed by <code>model</code>. */ public static <T, R> MetadataModelReadHelper<T, R> create(MetadataModel<T> model, MetadataModelAction<T, R> action) { Parameters.notNull("model", model); // NOI18N Parameters.notNull("action", action); // NOI18N return new MetadataModelReadHelper<T, R>(model, action); }