Bug 121016 - Find reference search for superclass-methods too
Summary: Find reference search for superclass-methods too
Status: RESOLVED DUPLICATE of bug 73401
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 03:46 EST by pjh180375 CLA
Modified: 2006-01-09 05: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 pjh180375 CLA 2005-12-15 03:46:33 EST
public class A
{
  public String getString()
  {
     return "A";
  }
}

public class B extends A
{
  public String getString()
  {
     return "B";
  }
}  

public class C extends A
{
}  

If you go to Class B and ask for Find reference for methode getString() you will find all references for B.getString and A.getString and C.getString. But I will see only B.getString. A.getString is overriden and C.getString has nothing to do with B.getString.
Comment 1 pjh180375 CLA 2006-01-09 04:13:53 EST
Updated description:

public class A
{
  public String getString()
  {
     return "A";
  }
}

public class B extends A
{
  public String getString()
  {
     return "B";
  }
}  

public class C extends A
{
}  

If you go to Class B and ask for Find reference for methode getString() you
will find all references for B.getString and A.getString and C.getString. But I
only want to see B.getString. A.getString is overriden and C.getString has nothing
to do with B.getString.
Comment 2 Frederic Fusier CLA 2006-01-09 05:54:45 EST

*** This bug has been marked as a duplicate of 73401 ***