private boolean isInterfaceImplementation(Class<?> type, Class<?> mappingType) {
        return mappingType.isInterface() && mappingType.isAssignableFrom(type);
    }
Internal class that determines the appropriate class mapping to be used for
the source and destination object being mapped. Only intended for internal
use.
core/src/main/java/com/github/dozermapper/core/classmap/ClassMappings.java