Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jdt-dev] Know which types are referenced by a ICompilationUnit

Hi all,

I'm trying some experiments about https://bugs.eclipse.org/bugs/show_bug.cgi?id=105372 , https://bugs.eclipse.org/bugs/show_bug.cgi?id=486035 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=486032 .
I didn't manage to find a good way, from a given ICompilationUnit, to get the list of types that are used by this ICompilationUnit. I could crawl the AST model to find that, but I imagine JDT may already have this implemented in some way I could reuse. Does it?

Thanks in advance
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top