public FieldMap getFieldMapUsingDest(String destFieldName, boolean isMap) {
        if (fieldMaps == null) {
            return null;
        }

        FieldMap result = null;

        for (FieldMap fieldMap : fieldMaps) {
            String fieldName = fieldMap.getDestFieldName();

            if (isMap && MappingUtils.isDeepMapping(fieldName)) {
                fieldName = fieldName.split("\\.")[0];
            }

            String alternateFieldName = provideAlternateName(fieldName);

            // Check for exact match on field name. Also, check against alternate field name. The alternate field
            // name is used just in case the attribute was specified in the dozer xml file starting in a Capital letter.
            // This prevents the field from getting double mapped in the case that the class attr is named "field1" but in
            // the dozer xml is it specified as "Field1". This should never happen, but check just in case since the use case
            // doesnt actually error out. It just double maps which is a problem when the data type is a Collections.
            if (fieldName.equals(destFieldName) || alternateFieldName.equals(destFieldName)) {
                result = fieldMap;
                break;
            }
        }

        return result;
    }
Internal class that represents a class mapping definition. Holds all of the information about a single class mapping.
Only intended for internal use.
core/src/main/java/com/github/dozermapper/core/classmap/ClassMap.java