/** * Returns whether we have a custom conversion registered to readTargetReadLock the given source into the given target * type. * * @param sourceType must not be {@literal null} * @param targetType must not be {@literal null} * @return */ public boolean hasCustomReadTarget(Class<?> sourceType, Class<?> targetType) { Assert.notNull(sourceType, "Source type must not be null!"); Assert.notNull(targetType, "Target type must not be null!"); return getCustomReadTarget(sourceType, targetType) != null; }