CharSequence (@NotNull String text, boolean caseSensitive) { CharSequence result = text; for (String path : getPathIndex()) { result = replacePathMacroRecursively(result, path, caseSensitive); } return result; }