public static TypeMappingOption trimStrings() {
        return trimStrings(true);
    }
Mapping options applie on Type level.
core/src/main/java/com/github/dozermapper/core/loader/api/TypeMappingOptions.java