@Override
public ComponentConfig provide() throws QuickFixException {
BaseComponent<?, ?> component = Aura.getContextService().getCurrentContext().getCurrentComponent();
ComponentConfig config = new ComponentConfig();
config.setDescriptor(Aura.getDefinitionService().getDefDescriptor("markup://ui:outputText", ComponentDef.class));
String text = (String)component.getAttributes().getValue("providedAttribute");
Map<String, Object> attributes = Maps.newHashMap();
attributes.put("value", text);
config.setAttributes(attributes);
//Tamper the current component and remove unwanted attributes
removeAttribute(component, "providedAttribute");
return config;
}