A Java intention copies the text a string concatenation at the caret builds,
with ? for each operand that isn't a literal and a line break where the
operands continue on a new line; on a lone string literal or text block it
copies the literal's value. It works from the syntax tree, so it is offered
before the language server is ready.