Package com.io7m.cedarbridge.runtime.api

# Class CBTypeArguments

java.lang.Object
com.io7m.cedarbridge.runtime.api.CBTypeArguments

public final class CBTypeArguments extends Object
Functions over type arguments.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `checkArgumentCount(String packageName, String typeName, int expectedCount, int receivedCount)`
  Check that the argument count matches the parameter count of the target type.
  `static CBTypeArgument`
  `of(CBQualifiedTypeName target, List<CBTypeArgument> arguments)`
  Construct a type argument.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### of

    public static CBTypeArgument of(CBQualifiedTypeName target, List<CBTypeArgument> arguments)
    Construct a type argument.
    Parameters:
      `target` - The target type
      `arguments` - The type arguments
    Returns:
      The type argument

  - ### checkArgumentCount

    public static void checkArgumentCount(String packageName, String typeName, int expectedCount, int receivedCount)
    Check that the argument count matches the parameter count of the target type.
    Parameters:
      `packageName` - The package name
      `typeName` - The type name
      `expectedCount` - The expected number of arguments
      `receivedCount` - The received number of arguments