}
// Report a problem if that definition isn't for a class.
if (!(tagDef instanceof IClassDefinition))
{
ICompilerProblem problem = new MXMLNotAClassProblem(rootTag, tagDef.getQualifiedName());
builder.addProblem(problem);
return;
}
IClassDefinition tagDefinition = (IClassDefinition)tagDef;