class TemplateSanitizer extends AbstractFieldSanitizer<String> {

    @Override
    public Optional<Object> apply(Object entity) {
        return entity != null ? apply(entity, "") : Optional.empty();
    }

    public  TemplateSanitizer(Function<String, Optional<Object>> templateResolver,
                             Function<Class<?>, Boolean> innerEntityPredicate);

}