1717import org .jvnet .jaxb2_commons .xml .bind .model .MClassTypeInfo ;
1818import org .jvnet .jaxb2_commons .xml .bind .model .MPropertyInfo ;
1919
20- public class JsonSchemaClassInfoCompiler <T , C extends T > implements
21- JsonSchemaTypeInfoCompiler <MClassInfo <T , C >, T , C > {
20+ public class JsonSchemaClassInfoProducer <T , C extends T > implements
21+ JsonSchemaTypeInfoProducer <MClassInfo <T , C >, T , C > {
2222
2323 private final JsonSchemaMappingCompiler <T , C > mappingCompiler ;
2424 private final Mapping <T , C > mapping ;
2525
26- public JsonSchemaClassInfoCompiler (
26+ public JsonSchemaClassInfoProducer (
2727 JsonSchemaMappingCompiler <T , C > mappingCompiler ) {
2828 Validate .notNull (mappingCompiler );
2929 this .mappingCompiler = mappingCompiler ;
@@ -35,7 +35,7 @@ public JsonSchemaMappingCompiler<T, C> getMappingCompiler() {
3535 }
3636
3737 @ Override
38- public JsonSchemaBuilder compile (MClassInfo <T , C > classInfo ) {
38+ public JsonSchemaBuilder produce (MClassInfo <T , C > classInfo ) {
3939 final JsonSchemaBuilder classInfoSchema = new JsonSchemaBuilder ();
4040 classInfoSchema .addType (JsonSchemaConstants .OBJECT_TYPE );
4141 final String localName = classInfo
@@ -85,7 +85,7 @@ private Map<String, JsonSchemaBuilder> compilePropertyInfos(
8585 propertyInfoSchemas
8686 .put (propertyInfo .getPrivateName (),
8787 propertyInfo
88- .acceptPropertyInfoVisitor (new JsonSchemaPropertyInfoCompilerVisitor <T , C >(
88+ .acceptPropertyInfoVisitor (new JsonSchemaPropertyInfoProducerVisitor <T , C >(
8989 this )));
9090 }
9191 }
0 commit comments