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

It should report the type declaration as if you had selected it in the 
source and then opened on selection. 
So the resource would be the jar (or the project if it is an external jar) 
and the positions would be the
positions of the declaration 'Set' in the attached source. If there is no 
attached source, then the positions
would be undefined.

But of course it doesn't work that way as captured in bug 5384 search engine: behavior different than expected
This method needs to be rewritten.

Jerome




"Adam Kiezun" <adam.kiezun@xxxxxxx>
Sent by: jdt-core-dev-admin@xxxxxxxxxxx
11/15/2001 02:54 PM
Please respond to jdt-core-dev

 
        To:     <jdt-core-dev@xxxxxxxxxxx>
        cc: 
        Subject:        [jdt-core-dev] question about SearchEngine API

hi,
i have a question about the following API method on SearchEngine
searchDeclarationsOfReferencedTypes

if i have a reference to java.util.Set (comming from the JDK (with or
without attached source)),

what kind of match will be reported? (resource and positions)

a.


_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-core-dev





Back to the top