getLogger().verbose("trying to build '"+packageName+"' '"+className+"'");
}
String loadme = (packageName.trim().length() > 0) ?
(packageName + '.' + className) :
className;
ClassDoc cd = mRootDoc.classNamed(loadme);
if (cd == null) {
if (getLogger().isVerbose(this)) {
getLogger().verbose("no ClassDoc for "+loadme);
}
return null;
}
List importSpecs = null;
{
ClassDoc[] imported = cd.importedClasses();
if (imported != null) {
importSpecs = new ArrayList();
for(int i=0; i<imported.length; i++) {
importSpecs.add(getFdFor(imported[i]));
}
}
}
{
PackageDoc[] imported = cd.importedPackages();
if (imported != null) {
if (importSpecs == null) importSpecs = new ArrayList();
for(int i=0; i<imported.length; i++) {
importSpecs.add(imported[i].name()+".*");
}