@Override
    public boolean checkName(String name) {
      if (name.isEmpty() || PathMacros.getInstance().getSystemMacroNames().contains(name)) {
        return false;
      }

      return PathMacrosCollector.MACRO_PATTERN.matcher("$" + name + "$").matches();
    }
@Override
    public boolean checkName(String name)