public class Foo { void m() { Object[] xs = new Object[]{1, 2, 3}; for (final Object x : xs) { <caret> } } }