[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jdt-core-dev] question about SearchEngine API
|
Search operations are kind of heavy-weight too :-)
But I don't think using the ast visitor would suffice since you also need
to resolve the type bindings.
So I think SearchEngine.searchDeclationsOfReferencedTypes(...) would do
the trick.
Jerome
"Adam Kiezun" <adam.kiezun@xxxxxxx>
Sent by: jdt-core-dev-admin@xxxxxxxxxxx
11/20/2001 04:49 PM
Please respond to jdt-core-dev
To: <jdt-core-dev@xxxxxxxxxxx>
cc:
Subject: 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?
i think i said it in the original post - i need it for pull up methods
refactoring. i want to figure out which types i have
to import after i move a method to a superclass.
so i want to know which types are referenced inside this method.
i could use the ast visitor here but wouldn't that be too heavy-weight?
a.
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev