public interface Parameterizable
An interface indicating that a Codec is for a type that can be parameterized by generic types.
parameterizeRecursively parameterize the codec with the given registry and generic type arguments.
codecRegistry- the code registry to use to resolve codecs for the generic type arguments
types- the types that are parameterizing the containing type. The size of the list should be equal to the number of type parameters of the class whose codec is being parameterized, e.g. for a
Collectionthe size of the list would be one since
Collectionhas a single type parameter. Additionally, the size will never be 0 since there is no purpose in parameterizing a codec for a type that has no type parameters.
- the Codec parameterized with the given types