changed getPathFromDoclet behavior to fix an issue with annotated @extends.