Project: JDT
Bug 22054 Can't extract local variable from super send [refactoring]
Reported: 2002-07-30 15:29:55 | Status: verified fixed

- Import the following Java class into Eclipse: public class Foo { public String toString() { return super.toString() + new Integer(1).toString(); } } - Select 'super.toString()' and choose 'Extract local variable' - An error message appears saying: 'Cannot extract this kind of expression into a local variable'.

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test48_in.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractTemp/canExtract/A_test48_out.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractTempTests.java