static @Nullable TemplateParameterTraversalPolicy findSuitableTraversalPolicy(Editor editor, PsiFile file) {
    TemplateParameterTraversalPolicy policy = findPolicyForFile(file);
    return policy != null && policy.isValidForFile(editor, file) ? policy : null;
  }
static @Nullable TemplateParameterTraversalPolicy findSuitableTraversalPolicy(Editor editor, PsiFile file)