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