if (defaultDescriptor == null) {
final JSClass jsClass = (JSClass)descriptor.getDeclaration();
final String className = descriptor.getQualifiedName();
final boolean isDirectContainerImpl = className.equals(ICONTAINER);
if (isDirectContainerImpl || JSInheritanceUtil.isParentClass(jsClass, ICONTAINER)) {
<BUG>if (childDescriptor == null) {
problemsHolder.add(FlexUIDesignerBundle.message("error.initializer.cannot.be.represented.in.text", tag.getName(),
getLineNumber(tag)));</BUG>
return -1;
}

if (defaultDescriptor == null) {
final JSClass jsClass = (JSClass)descriptor.getDeclaration();
final String className = descriptor.getQualifiedName();
final boolean isDirectContainerImpl = className.equals(ICONTAINER);
if (isDirectContainerImpl || JSInheritanceUtil.isParentClass(jsClass, ICONTAINER)) {
if (childDescriptor == null) {
addProblem("error.initializer.cannot.be.represented.in.text", tag.getLocalName(), getLineNumber(tag));
return -1;
}
