"Target type of codec declared in annotation @TypeTransformer on the field '%s' of class '%s' should not be null",
fieldName, className);
}
private Codec<?, ?> getValueCodecInstance(Field field) {
final TypeTransformer typeTransformer = field.getAnnotation(TypeTransformer.class);
final Class<?> codecClass = typeTransformer.valueCodecClass();
final String fieldName = field.getName();
final String className = field.getDeclaringClass().getCanonicalName();
validateInstanceOfCodec(codecClass, fieldName, className);