@Deprecated(forRemoval = true)
  public static boolean isApplicable(PsiFile file, int offset, TemplateImpl template) {
    return isApplicable(template, TemplateActionContext.expanding(file, offset));
  }
@Deprecated(forRemoval = true)
  public static boolean isApplicable(PsiFile file, int offset, TemplateImpl template)