Package com.io7m.cedarbridge.codegen.javastatic.internal

# Class CBCGJava

java.lang.Object
com.io7m.cedarbridge.codegen.javastatic.internal.CBCGJava

All Implemented Interfaces:
  `CBSPICodeGeneratorType`

public final class CBCGJava extends Object implements CBSPICodeGeneratorType
A Java code generator.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CBCGJava(CBSPICodeGeneratorConfiguration inConfiguration)`
  A Java code generator.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CBSPICodeGeneratorResult`
  `execute(CBPackageType pack)`
  Execute code generation for the given package.

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

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

- ## Constructor Details

  - ### CBCGJava

    public CBCGJava(CBSPICodeGeneratorConfiguration inConfiguration)
    A Java code generator.
    Parameters:
      `inConfiguration` - The code generator configuration

- ## Method Details

  - ### execute

    public CBSPICodeGeneratorResult execute(CBPackageType pack) throws CBSPICodeGeneratorException
    Description copied from interface: `CBSPICodeGeneratorType`
    Execute code generation for the given package.
    Specified by:
      `execute` in interface `CBSPICodeGeneratorType`
    Parameters:
      `pack` - The package
    Returns:
      The result of generation
    Throws:
      `CBSPICodeGeneratorException` - On errors