private VariantResourceReaderStrategy getVariantStrategy(GeneratorContext context,
			Map<String, VariantSet> variantSetMap) {

		VariantResourceReaderStrategy strategy = null;
		try {
			strategy = (VariantResourceReaderStrategy) resourceProviderStrategyClass.newInstance();
			strategy.initVariantProviderStrategy(context, variantSetMap);
		} catch (InstantiationException | IllegalAccessException e) {
			throw new BundlingProcessException(e);
		}

		return strategy;
	}
private VariantResourceReaderStrategy getVariantStrategy ( GeneratorContext context , Map < String , VariantSet > variantSetMap ) { VariantResourceReaderStrategy strategy = null ; try { strategy = ( VariantResourceReaderStrategy ) resourceProviderStrategyClass . newInstance ( ) ; strategy . initVariantProviderStrategy ( context , variantSetMap ) ; } catch ( InstantiationException | IllegalAccessException e ) { throw new BundlingProcessException ( e ) ; } return strategy ; }
Returns the variant strategy

@param context
the generator context
@param variantSetMap
the variantSet map for the current path
@return the variant strategy