Project: JDT
Bug 44417 inline call a field initializer: could detect self reference [refactoring]
Reported: 2003-10-08 08:19:23 | Status: resolved fixed

20031008 class A { private String fName= getName(); private String getName() { return fName(); } } - inline getName() - it result in fName= fName which does not compile

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/invalid/TestInvalidFieldInitializer3.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineMethodTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/CallInliner.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java