public T head(Class<?> clazz) {
        parameter().setClazz(clazz);
        return self();
    }
You can only choose one of the {@link #head(List)} and {@link #head(Class)}

@param clazz
@return
fastexcel-core/src/main/java/cn/idev/excel/metadata/AbstractParameterBuilder.java