protected Map<String,String> resolveMessagesForOrigin(final Class<?> origin, final Locale locale) {
        return StandardMessageResolutionUtils.resolveMessagesForOrigin(origin, locale);
    }
protected Map < String , String > resolveMessagesForOrigin ( final Class < ? > origin , final Locale locale ) { return StandardMessageResolutionUtils . resolveMessagesForOrigin ( origin , locale ) ; }
<p>
Resolve messages for a specific origin and locale.
</p>
<p>
This is meant to be overridden by subclasses if necessary, so that the way in which messages
are obtained for a specific origin can be modified without changing the rest of the
message resolution mechanisms.
</p>
<p>
The standard mechanism will look for files in the classpath (only classpath),
at the same package and with the same name as the origin class, with {@code .properties}
extension.
</p>

@param origin the origin
@param locale the locale
@return a Map containing all the possible messages for the specified origin and locale. Can return null.