Refactor switch support in NodePath#getCompletionRecords
#13030
Merged
NodePath#getCompletionRecords
#13030