class StrategyPackagesResolver {
    public static List<String> getInjectedPackages(List<StrategyPackagesInjector> strategyPackagesInjectorList, PackagesInjectorType packagesInjectorType) {<FILL_FUNCTION_BODY>}
}

        List<String> packageList = null;
        if (CollectionUtils.isNotEmpty(strategyPackagesInjectorList)) {
            packageList = new ArrayList<String>();
            for (StrategyPackagesInjector strategyPackagesInjector : strategyPackagesInjectorList) {
                List<PackagesInjectorEntity> packagesInjectorEntityList = strategyPackagesInjector.getPackagesInjectorEntityList();
                if (CollectionUtils.isNotEmpty(packagesInjectorEntityList)) {
                    for (PackagesInjectorEntity packagesInjectorEntity : packagesInjectorEntityList) {
                        PackagesInjectorType injectorType = packagesInjectorEntity.getPackagesInjectorType();
                        List<String> packages = packagesInjectorEntity.getPackages();
                        if (injectorType == packagesInjectorType || injectorType == PackagesInjectorType.ALL) {
                            if (CollectionUtils.isNotEmpty(packages)) {
                                for (String pkg : packages) {
                                    if (!packageList.contains(pkg)) {
                                        packageList.add(pkg);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }

        return packageList;
    
<no_super_class>