Getting Type Information
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Wed Jun 11 09:03:46 PDT 2008
It depends where you are starting from. If you have class files that
you want to look at, you might want to analyse those directly, examining
the constant pool for entries that define types. There are several
easily available libraries for reading class files.
-- Jon
mgnews at gmx.de wrote:
> Hello,
>
> I want to extract all external types which are used in a class.
> Is there an easy way to do this? I tried the Visitor, but the type information (e.g. for variables) is stored in different ways, so it's more like a trial and error.
>
> Perhaps I just didn't find the right documentation.
>
> Kind regards
>
More information about the compiler-dev
mailing list