instanceNode.setClassReference(project, (ClassDefinition)definition); // TODO Move this logic to initializeFromTag().
instanceNode.initializeFromTag(builder, childTag);
info.addChildNode(instanceNode);
if (!instanceNode.getClassReference(project).isInstanceOf(type, project))
{
ICompilerProblem problem = new MXMLIncompatibleVectorElementProblem(childTag);
builder.addProblem(problem);
}
}
else
{