@Override
  public @NotNull String substitute(@NotNull String text, boolean caseSensitive) {
    for (String path : getPathIndex()) {
      text = replacePathMacro(text, path, caseSensitive);
    }
    return text;
  }
@Override
  public @NotNull String substitute(@NotNull String text, boolean caseSensitive)