@Override
    public JType generate(RuleFactory ruleFactory, String defaultName, JsonNode parent, JClassContainer container) {
      if (schema.isGenerated()) {
        return schema.getJavaType();
      }
      else {
        return ruleFactory.getTypeRule().apply(name != null ? name : defaultName,
                                               node, parent, container, schema);
      }
    }
@Override
    public JType generate(RuleFactory ruleFactory, String defaultName, JsonNode parent, JClassContainer container)