public class Foo { void m(Object o) { "test".cast<caret>.length() } }