public class A { public void testInlineRefactoring() { int[] array = ar(); array[1] = 22; } private int[] ar() { return new int[0]; } }