@Override
  public NamedScriptableDefinition findVariable(@NotNull String name) {
    return ObjectUtils.chooseNotNull(myReplaceOptions.getVariableDefinition(name), getMatchOptions().getVariableConstraint(name));
  }
@Override
  public NamedScriptableDefinition findVariable(@NotNull String name)