final public P createParametersSchema() {
if (ModelBuilderSchema.class == this.getClass()) {
return (P)new ModelParametersSchema();
}
try {
<BUG>Class<? extends ModelParametersSchema> parameters_class = (Class<? extends ModelParametersSchema>) ReflectionUtils.findActualClassParameter(this.getClass(), 2);
return (P)parameters_class.newInstance();</BUG>
}
catch (Exception e) {
throw H2O.fail("Caught exception trying to instantiate a builder instance for ModelBuilderSchema: " + this + ": " + e, e);

final public P createParametersSchema() {
if (ModelBuilderSchema.class == this.getClass()) {
return (P)new ModelParametersSchema();
}
try {
Class<? extends ModelParametersSchema> parameters_class = ReflectionUtils.findActualClassParameter(this.getClass(), 2);
return (P)parameters_class.newInstance();
}
catch (Exception e) {
throw H2O.fail("Caught exception trying to instantiate a builder instance for ModelBuilderSchema: " + this + ": " + e, e);
