List strategies = new ArrayList();
// The strategies to use are added in priority order.
final OptimizeStrategy individualPropertyStrategy =
new IndividualPropertyStrategy();
if (supportedShorthands.contains(StyleShorthands.BORDER)) {
strategies.add(new SingleShorthandStrategy(true));
}
if (supportedShorthands.contains(StyleShorthands.BORDER_COLOR) &&