@Contract(pure = true)
  public static @NotNull String trimTrailing(@NotNull String string) {
    return trimTrailing((CharSequence)string).toString();
  }
@Contract(pure = true)
  public static @NotNull String trimTrailing(@NotNull String string)