private static @NotNull String getRefPresentation(@NotNull String reference) {
    return StringUtil.substringBeforeLast(reference, "^0");
  }
private static @NotNull String getRefPresentation(@NotNull String reference)