public void checkReplacementPattern(@NotNull Project project, @NotNull ReplaceOptions options) {
    if (isReplaceSupported()) return;
    final LanguageFileType fileType = options.getMatchOptions().getFileType();
    if (fileType == null) return;
    final String fileTypeName = StringUtil.toLowerCase(fileType.getName());
    throw new UnsupportedPatternException(SSRBundle.message("replacement.not.supported.for.filetype", fileTypeName));
  }
public void checkReplacementPattern(@NotNull Project project, @NotNull ReplaceOptions options)