> From: Geoff Berry [mailto:[EMAIL PROTECTED]]
>
>
> There is containingClass() and containingPackage() in
> ProgramElementDoc.  It also seems like getRootDoc() is not needed
> since there is only one RootDoc.
>

Actually, having those methods in ProgramElementDoc makes it totally easy
and makes a lot of the functionality I could provide with the new
architecture pretty unnecessary.  I didn't even think about looking in the
superclass.

getRootDoc() is needed, because if you are in a method that only takes a
PackageDoc, it just seems right that you should be able to get to the
RootDoc from it.  You could get around it by passing the RootDoc in as well,
but it doesn't seem right.  In the end, it doesn't matter nearly as much as
containingPackage() and containingClass().

> Also, I responded to an earlier message, but I didn't send it to the
> list by mistake.  I have a half-finished JavaDoc driver that I will
> try to finish tonight.
>

Cool.

--John

Reply via email to