// Now test that the root does not extend or implement this class before we generate a
// warning.
ClassInfo rootInfo = typeAnalyzer.getClassInfo(configuration.getMainDefinition());
if (rootInfo != null &&
!rootInfo.implementsInterface(qName.getNamespace(), qName.getLocalPart()) &&
!rootInfo.extendsClass(qName.toString()))
{
ThreadLocalToolkit.getLogger().log(new CompiledAsAComponent(qName.toString(),
configuration.getMainDefinition()));
}
}