robe-convert/src/main/java/io/robe/convert/common/Converter.java
protected final Map<String, Field> getFieldMap(Class clazz) {
        Map<String, Field> fieldList = new HashMap<String, Field>();
        for (FieldEntry entry : getAllFields(clazz)) {
            Field field = entry.getValue();
            fieldList.put(field.getName(), field);
        }
        return fieldList;

    }
protected final Map<String, Field> getFieldMap(Class clazz) {
        Map<String, Field> fieldList = new HashMap<String, Field>();
        for (FieldEntry entry : getAllFields(clazz)) {
            Field field = entry.getValue();
            fieldList.put(field.getName(), field);
        }
        return fieldList;

    }
Returns a map of the fields which belongs to the given class with field name as key.

@param clazz class to get types.
@return ordered list of fields.