public class Foo { String getString() {} { getString().subSequence(<caret>) } }