Bug 72886 - [search] references to endVisit(MethodInvocation) reports refs to endVisit(SuperMethodInvocation)
Summary: [search] references to endVisit(MethodInvocation) reports refs to endVisit(Su...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 12:15 EDT by Markus Keller CLA
Modified: 2004-11-04 11:54 EST (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-08-30 12:15:52 EDT
A really funny bug in I200408241200:-)

A search for references to method
    ASTVisitor#endVisit(MethodInvocation)
reports also references to
    ASTVisitor#endVisit(SuperMethodInvocation).

Similar for FieldAccess -> SuperFieldAccess, ConstructorInvocation ->
SuperConstructorInvocation, ... XXX -> SuperXXX.
Comment 1 Markus Keller CLA 2004-08-30 12:42:24 EDT
Note: Project org.eclipse.jdt.core must be in source to enjoy SuperMAN
("Super"MethodArgumentName) search.
Comment 2 Kent Johnson CLA 2004-08-30 16:31:38 EDT
Are these references in Javadoc or method bodies?
Comment 3 Markus Keller CLA 2004-08-31 03:22:57 EDT
All references are in bodies of accept0(..) methods of the corresponding classes
(selection is "endVisit(this)" on the last line). Search results table:

accept0(ASTVisitor) : void - org.eclipse.jdt.core.dom.MethodInvocation
accept0(ASTVisitor) : void - org.eclipse.jdt.core.dom.SuperMethodInvocation
Comment 4 Frederic Fusier CLA 2004-10-28 10:43:16 EDT
This bug really occurs with 3.1 M2 but does not in last integration build
I200410260800.
I suppose fix was a side effect of implementation for search with generic types
and fields (bug 75641 and bug 73277).
Comment 5 Frederic Fusier CLA 2004-10-28 10:43:46 EDT
I'll add it to JDT/Core buildnotes.
Comment 6 Frederic Fusier CLA 2004-10-28 12:02:13 EDT
Test case added in JavaSearchTests
Comment 7 David Audel CLA 2004-11-04 11:54:16 EST
Verified in build I200411040100 for 3.1M3