Bug 21965

Summary: [extract method] could guess method name
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-07-26 12:34:38 EDT
in a fashion similar to bug 19930 where extract temp guesses temp name
extract method would guess it too
Comment 1 Jim Kingdon CLA 2003-03-12 11:08:21 EST
So if the code is
  x = 1 + 2;
  foo = 2 * x;
then the guess would be "getFoo"?

Or would the guess be the same as the containing method (provided the arguments
differ)?  This guess might come in handy if the next step is to inline
what had been left of the containing method.

Or is some other algorithm envisaged?