Invoking Type-Matching code completion (&shortcut:SmartTypeCompletion;) twice when a collection type is expected will search for arrays with the same component type and suggest converting them using the Arrays.asList() call.