{
super.nestedDeclaration();
}
else
{
Type childType = nodeTypeResolver.resolveType(child, document);
assert childType != null : "nested declaration node type == null, node = " + child.image;
if (standardDefs.isContainer(parentType) && standardDefs.isIUIComponent(childType) &&
((mimeType.equals(MimeMappings.MXML) && (document.getVersion() < 4)) ||
(parentType.getDefaultProperty() == null)))
{
processVisualChild(child);
}
else if (child instanceof ReparentNode)
{
ComponentBuilder builder = new ComponentBuilder(unit, typeTable, mxmlConfiguration, document, component, null, null, true, null);
child.analyze(builder);
}
else if ((standardDefs.isContainer(parentType) &&
(childType.isAssignableTo(standardDefs.CLASS_RADIOBUTTONGROUP) ||
childType.isAssignableTo(standardDefs.CLASS_SPARK_RADIOBUTTONGROUP))))
{
// Special cases to allow non-visual children in visual containers.
ComponentBuilder builder = new ComponentBuilder(unit, typeTable, mxmlConfiguration, document, component, null, null, true, null);
child.analyze(builder);
}