class StrategyHeadersResolver {
    public static List<String> getInjectedHeaders(List<StrategyHeadersInjector> strategyHeadersInjectorList, HeadersInjectorType headersInjectorType) {<FILL_FUNCTION_BODY>}
}

        List<String> headerList = null;
        if (CollectionUtils.isNotEmpty(strategyHeadersInjectorList)) {
            headerList = new ArrayList<String>();
            for (StrategyHeadersInjector strategyHeadersInjector : strategyHeadersInjectorList) {
                List<HeadersInjectorEntity> headersInjectorEntityList = strategyHeadersInjector.getHeadersInjectorEntityList();
                if (CollectionUtils.isNotEmpty(headersInjectorEntityList)) {
                    for (HeadersInjectorEntity headersInjectorEntity : headersInjectorEntityList) {
                        HeadersInjectorType injectorType = headersInjectorEntity.getHeadersInjectorType();
                        List<String> headers = headersInjectorEntity.getHeaders();
                        if (injectorType == headersInjectorType || injectorType == HeadersInjectorType.ALL) {
                            if (CollectionUtils.isNotEmpty(headers)) {
                                for (String header : headers) {
                                    if (!headerList.contains(header)) {
                                        headerList.add(header);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        return headerList;
    
<no_super_class>