Project: JDT
Bug 6429 declaration source start incorrect on local variable
Reported: 2001-11-29 11:15:59 | Status: resolved fixed

package p; class A{ int i(){ int[] a= new int[6]; int /**/i= a[9]; return i; } } when i ask for the declarationSourceStart and declarationSourceEnd of the i temp and the look a source in that range i get: /**/i= a[9] the type is not included. however, when you change the type declaration to: int i= a[9]; everything is fine, i.e. the source is: int i= a[9]

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineTempTests.java