Interface Type.Array

All Superinterfaces:
Type
Enclosing interface:
Type

public static interface Type.Array extends Type
An array type. Array types feature an element type and an optional size. As such they can also be used to model array types.
  • Method Details

    • kind

      The array type kind.
      Returns:
      The array type kind.
    • elementCount

      OptionalLong elementCount()
      The (optional) array element count.
      Implementation Requirements:
      an element count is present if the array type kind is one of Type.Array.Kind.VECTOR, Type.Array.Kind.ARRAY.
      Returns:
      The (optional) array element count.
    • elementType

      Type elementType()
      The array type element type.
      Returns:
      The array type element type.