Sure. Recently, I had to do some cleaning up/refactoring of our code and at
one point, I had a method in a class that had multiple signatures that all
did the same, but the shorter signatures used some default values for the
parameters not specified (which seems to be fairly common practice).

public void method(String p1);
public void mehtod(String p1, String p2);

I wanted to eliminate all calls to this method (to all of signatures) and
have the callers call another method instead. I had to go through all
signatures and do a "Find usages" instead of doing just one. I could
envision the feature as a simple checkbox in the "Find usages" dialog: "Find
all signatures of this method". 

Keep up the good work! 

Thanks,

Stefan Zier
Software Engineer
ArcSight, Inc.
(408) 328 5538
[EMAIL PROTECTED] 

> -----Original Message-----
> From: Eugene Zhuravlev [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, April 01, 2002 12:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Eap-list] Finding usages of multiple methods at once?
> 
> 
> Hi Stefan,
> 
> Could you please describe some use-cases when this is convenient?
> 
> Best regards,
> Eugene Zhuravlev
> JetBrains, Inc / IntelliJ Software, http://www.intellij.com/ 
> "Develop with pleasure!"
> 
> ----- Original Message -----
> From: "Stefan Zier" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 29, 2002 23:21
> Subject: [Eap-list] Finding usages of multiple methods at once?
> 
> 
> > I have quite often encountered pieces of code where 
> multiple different 
> > signatures of methods exist, e.g.
> >
> > public void doSomething(String param1);
> > public void doSomething(String param1, String param2);
> >
> > It would often be convenient to have the possibility to look for 
> > usages of all of those in one run instead of having to go 
> throug each 
> > one of them.
> >
> > Stefan Zier
> > Software Engineer
> > ArcSight, Inc.
> > (408) 328 5538
> > [EMAIL PROTECTED]
> >
> > _______________________________________________
> > Eap-list mailing list
> > [EMAIL PROTECTED] 
> > http://www.intellij.com/mailman/listinfo/eap-list
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED] 
> http://www.intellij.com/mailman/listinfo/eap-list
> 

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to