Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] question about SearchEngine API

> I'm not sure to understand. Do you want the declarations of the types that
> are referenced in a method, or do you want the type references in this
> method?
(....)
> If you want the declarations of the types that are referenced in a method,
> you should use SearchEngine.searchDeclarationsOfReferencedTypes(...).
> In the case of a declaration in a jar, the collector will get the jar file
> or the project as the resource, BUT it will also get an IJavaElement
> corresponding to the type declaration.

good, so the enclosingJavaElement would be the IType?
that's good.

thanks
a.





Back to the top