Interface CBVariantBuilderType

All Superinterfaces:
CBTypeDeclarationBuilderType

public interface CBVariantBuilderType extends CBTypeDeclarationBuilderType
A builder of variant types.
  • Method Details

    • createCase

      CBVariantCaseBuilderType createCase(String name)
      Create a new variant case.
      Parameters:
      name - The name of the case
      Returns:
      A case builder