Check.notNull(doc, "doc");
File sourcefile = new ClassDocDelegate(doc).getSourcefile();
Check.isTrue(sourcefile.exists(), "The file does not exist ", sourcefile);
RootDoc fullRootDoc = DocBoostUtils.createJavadocOfFile(sourcefile);
Check.notNull(fullRootDoc, "fullRootDoc", "should be created from file " + sourcefile);
ClassDoc fullClassDoc = fullRootDoc.classNamed(doc.qualifiedName());
return fullClassDoc;
}
/**
* Gets the commentText of a field.