Bug 38137 inline call that is used in a field initializer [refactoring]
Often I have deprecated methods which just delegate to a new method. A nice way to get rid of them is to simply inline those methods. Unfortunately, it's not possible to inline a method call in a field initializer, though I don't think it should be a problem as long as - the method is consisting of only one method call, and - all arguments are declared as final
org.eclipse.jdt.ui.tests.refactoring/resources/InlineMethodWorkspace/TestCases/invalid/TestFieldInitializer.java
package invalid;
public class TestFieldInitializer {
	
	private int field= foo();	
	
	public int foo() {
		return 1;
	}
}