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

# Interface CBCGSerializerInstantiationOperationType

All Superinterfaces:
  `Comparable<CBCGSerializerInstantiationOperationType>`

All Known Subinterfaces:
  `OpBuildTypeArgumentType`, `OpFetchSerializerType`

All Known Implementing Classes:
  `OpAbstract`, `OpBuildTypeArgumentForApplication`, `OpBuildTypeArgumentForNamed`, `OpBuildTypeArgumentForTypeVariable`, `OpCallSerializerConstructor`, `OpFetchSerializerForApplication`, `OpFetchSerializerForNamedType`, `OpFetchSerializerForTypeVariable`

public interface CBCGSerializerInstantiationOperationType extends Comparable<CBCGSerializerInstantiationOperationType>
An operation performed by a serializer. Operations are ordered by `programOrder()`, with each associated code block being executed in this order.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default int`
  `compareTo(CBCGSerializerInstantiationOperationType other)`
  `int`
  `programOrder()`
  `com.io7m.jodist.CodeBlock`
  `serialize()`

- ## Method Details

  - ### programOrder

    int programOrder()
    Returns:
      The program order

  - ### serialize

    com.io7m.jodist.CodeBlock serialize()
    Returns:
      The code block to execute

  - ### compareTo

    default int compareTo(CBCGSerializerInstantiationOperationType other)
    Specified by:
      `compareTo` in interface `Comparable<CBCGSerializerInstantiationOperationType>`