Bug 59769 - Javadoc of SearchMatch#getElement(): is *enclosing* element
Summary: Javadoc of SearchMatch#getElement(): is *enclosing* element
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-23 07:09 EDT by Markus Keller CLA
Modified: 2004-05-18 18:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-04-23 07:09:07 EDT
The javadoc of SearchMatch#getElement() should explicitly tell that getElement()
returns the element in which the match occured, and not the matched element
(which would probably also be interesting, but is currently not available).
Comment 1 Jerome Lanneluc CLA 2004-05-12 09:39:16 EDT
Added the following to the Java doc:
* In case of a reference match, this is the inner-most enclosing element of 
the reference. 
* In case of a declaration match, this is the declaration.
Comment 2 Olivier Thomann CLA 2004-05-18 18:22:18 EDT
Verified in 200405180816