Interface CBFieldOwnerType

All Known Subinterfaces:
CBRecordType, CBVariantCaseType
All Known Implementing Classes:
CBTypeDeclarationRecord, CBVariantCase

public sealed interface CBFieldOwnerType permits CBRecordType, CBVariantCaseType
The objects that can contain fields.
  • Method Details

    • fields

      List<CBFieldType> fields()
      Returns:
      The fields of the record in declaration order
    • fieldsByName

      default Map<String, CBFieldType> fieldsByName()
      Returns:
      The fields of the record by name