public class Foo { void m() { int[] xs = {1, 2, 3}; for (int i = 0; i < xs.length; i++) { <caret> } } }