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