public static class DefaultCoder.DefaultCoderProviderRegistrar.DefaultCoderProvider extends CoderProvider
CoderProvider that uses the @DefaultCoder annotation to provide coder providers that create Coders.| Constructor and Description | 
|---|
| DefaultCoderProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> Coder<T> | coderFor(TypeDescriptor<T> typeDescriptor,
        java.util.List<? extends Coder<?>> componentCoders)Returns the  Coderreturned according to theCoderProviderfrom anyDefaultCoderannotation on the given class. | 
public <T> Coder<T> coderFor(TypeDescriptor<T> typeDescriptor, java.util.List<? extends Coder<?>> componentCoders) throws CannotProvideCoderException
Coder returned according to the CoderProvider from any DefaultCoder annotation on the given class.coderFor in class CoderProviderCannotProvideCoderException