private boolean validateOneMatch(@NotNull PsiElement match, int start, int end, @NotNull MatchResult result, @NotNull MatchContext matchContext) {
    if (!myRepeatedVar) {
      return true;
    }
    if (start == 0 && end == -1 && result.getStart() == 0 && result.getEnd() == -1) {
      return matchContext.getMatcher().match(match, result.getMatch());
    }
    else {
      final StructuralSearchProfile profile = StructuralSearchUtil.getProfileByPsiElement(match);
      assert profile != null;
      return profile.getText(match, start, end).equals(result.getMatchImage());
    }
  }
private boolean validateOneMatch(@NotNull PsiElement match, int start, int end, @NotNull MatchResult result, @NotNull MatchContext matchContext)