return validateInstantiable(field, codecClass);
}
private Codec<?, ?> getKeyCodecInstance(Field field) {
final TypeTransformer typeTransformer = field.getAnnotation(TypeTransformer.class);
final Class<?> codecClass = typeTransformer.keyCodecClass();
final String fieldName = field.getName();
final String className = field.getDeclaringClass().getCanonicalName();
validateInstanceOfCodec(codecClass, fieldName, className);