protected void fix() throws QuickFixException {
BuilderService builderService = Aura.getBuilderService();
DefinitionService definitionService = Aura.getDefinitionService();
DefDescriptor<StyleDef> styleDescriptor = (DefDescriptor<StyleDef>) getAttributes().get("descriptor");
StyleDefBuilder builder = builderService.getStyleDefBuilder();
builder.setDescriptor(styleDescriptor);
builder.setClassName(styleDescriptor.getNamespace() + AuraTextUtil.initCap(styleDescriptor.getName()));
StyleDef styleDef = builder.build();
definitionService.save(styleDef);
}