// Separates the SM_MD into [SM, MD] so we can add the right styles
final String[] deviceString = deviceSize.name().split("_");
for (final String device : deviceString) {
// Case back to basic enum (PRINT, XS, SM, MD, LG)
final DeviceSize size = DeviceSize.valueOf(device);
switch (size) {
case PRINT:
addEnumStyleName(uiObject, Responsiveness.VISIBLE_PRINT);
break;
case XS: