Interface RecordLikeType

All Superinterfaces:
Type
All Known Implementing Classes:
PrimitiveType, ProgressiveRecordType, RecordType, TupleType

public interface RecordLikeType extends Type
A type that has named fields, as a record type does.
  • Method Details

    • argNameTypes

      SortedMap<String,Type> argNameTypes()
    • argType

      Type argType(int i)
      Returns the type of the ith field, or throws.
    • asTypedValue

      default @Nullable TypedValue asTypedValue()
      Returns a TypedValue if this type wraps a single dynamically typed value, otherwise null.