public static @Nls String message(@NotNull @PropertyKey(resourceBundle = PATH_TO_BUNDLE) String key, Object @NotNull ... params) {
    return BUNDLE.containsKey(key) ? BUNDLE.getMessage(key, params) : GradleDeprecatedMessagesBundle.message(key, params);
  }
public static @Nls String message(@NotNull @PropertyKey(resourceBundle = PATH_TO_BUNDLE) String key, Object @NotNull ... params)