[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-core-dev] question about SearchEngine API
|
Adam, just out of curiosity, what would you use this API for? Do you plan
to add a new search item, or is it for refactoring?
Thanks,
Jerome
"Adam Kiezun" <adam.kiezun@xxxxxxx>
Sent by: jdt-core-dev-admin@xxxxxxxxxxx
11/16/2001 11:29 AM
Please respond to jdt-core-dev
To: <jdt-core-dev@xxxxxxxxxxx>
cc:
Subject: 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.
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev