attribute = new AttributeImpl(attributeDef.getDescriptor());
}
Object value = attributeDefRef.getValue();
InstanceStack iStack = Aura.getContextService().getCurrentContext().getInstanceStack();
iStack.markParent(parent);
iStack.setAttributeName(attributeDef.getDescriptor().toString());
value = attributeDef.getTypeDef().initialize(value, valueProvider);
iStack.clearAttributeName(attributeDef.getDescriptor().toString());
iStack.clearParent(parent);
attribute.setValue(value);