bootiful-sqltemplate-core/src/main/java/ninja/cero/sqltemplate/core/util/BeanFields.java
public static Field[] get(Class<?> clazz) {
        Field[] fields = CACHED_FIELDS.get(clazz);
        if (fields == null) {
            fields = clazz.getFields();
            CACHED_FIELDS.putIfAbsent(clazz, fields);
        }

        return fields;
    }
public static Field[] get(Class<?> clazz) {
        Field[] fields = CACHED_FIELDS.get(clazz);
        if (fields == null) {
            fields = clazz.getFields();
            CACHED_FIELDS.putIfAbsent(clazz, fields);
        }

        return fields;
    }
Get fields of the given class.
@param clazz the class
@return the fields of the given class