Package com.io7m.cedarbridge.codegen.java.internal.collections

# 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

  Constructors
  Constructor
  Description
  `CBCGJavaSerializerCollectionGenerator()`
  A generator for serializer collections.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Path`
  `execute(CBSPICodeGeneratorConfiguration configuration, String packageName, Collection<CBTypeDeclarationType> types)`
  Generate code for the given type.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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: `CBCGJavaClassGeneratorType`
    Generate code for the given type.
    Specified by:
      `execute` in interface `CBCGJavaClassGeneratorType<Collection<CBTypeDeclarationType>>`
    Parameters:
      `configuration` - The generator configuration
      `packageName` - The package name
      `types` - The type name
    Returns:
      The path to the generated class
    Throws:
      `CBSPICodeGeneratorException` - On errors