class Foo { public void foo() { int i = 4; int[] array = new int[] {i}; for (int j = 0; j < array.length; j++) {} } }