Skip to main content

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

See SearchEngine.searchDeclarationsOfReferencedTypes().  There are lots of goodies on SearchEngine.

Brian.

On 25-Feb-2016, at 11:27 AM, Mickael Istria <mistria@xxxxxxxxxx> wrote:

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
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jdt-dev


Back to the top