@NotNull
  public ReplacementInfo buildReplacement(@NotNull MatchResult result) {
    final ReplacementInfoImpl replacementInfo = new ReplacementInfoImpl(result, project);
    final LanguageFileType fileType = options.getMatchOptions().getFileType();
    assert fileType != null;
    replacementInfo.setReplacement(replacementBuilder.process(result, replacementInfo, fileType));

    return replacementInfo;
  }
@NotNull
  public ReplacementInfo buildReplacement(@NotNull MatchResult result)