Class CBCGJavaSerializerCollectionGenerator
java.lang.Object
com.io7m.cedarbridge.codegen.java.internal.collections.CBCGJavaSerializerCollectionGenerator
- All Implemented Interfaces:
CBCGJavaClassGeneratorType<Collection<CBTypeDeclarationType>>
public final class CBCGJavaSerializerCollectionGenerator
extends Object
implements CBCGJavaClassGeneratorType<Collection<CBTypeDeclarationType>>
A generator for serializer collections.
-
Constructor Summary
ConstructorsConstructorDescriptionA generator for serializer collections. -
Method Summary
Modifier and TypeMethodDescriptionexecute(CBSPICodeGeneratorConfiguration configuration, String packageName, Collection<CBTypeDeclarationType> types) Generate code for the given type.
-
Constructor Details
-
CBCGJavaSerializerCollectionGenerator
public CBCGJavaSerializerCollectionGenerator()A generator for serializer collections.
-
-
Method Details
-
execute
public Path execute(CBSPICodeGeneratorConfiguration configuration, String packageName, Collection<CBTypeDeclarationType> types) throws CBSPICodeGeneratorException Description copied from interface:CBCGJavaClassGeneratorTypeGenerate code for the given type.- Specified by:
executein interfaceCBCGJavaClassGeneratorType<Collection<CBTypeDeclarationType>>- Parameters:
configuration- The generator configurationpackageName- The package nametypes- The type name- Returns:
- The path to the generated class
- Throws:
CBSPICodeGeneratorException- On errors
-