Type-Matching completion

When you need to cast an expression value to the required type, use Type-Matching completion. For example, type

String s = (

and press &shortcut:SmartTypeCompletion; to see what happens.