class Foo { void foo() { Object textIndex = null; Object p = textIndex<caret>(2); } }