Files
openide/platform/configuration-store-impl/src/ConfigurationStoreBundle.java
Rustam Vishniakov c009a82e75 IJPL-797 intellij.platform.configurationStore.impl review internal API
GitOrigin-RevId: a92954ebcf383b573473b22550f6c0c52cf71212
2024-06-06 18:35:13 +00:00

25 lines
984 B
Java

// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.configurationStore;
import com.intellij.DynamicBundle;
import org.jetbrains.annotations.*;
import java.util.function.Supplier;
@ApiStatus.Internal
public final class ConfigurationStoreBundle {
private static final @NonNls String BUNDLE = "messages.ConfigurationStoreBundle";
private static final DynamicBundle INSTANCE = new DynamicBundle(ConfigurationStoreBundle.class, BUNDLE);
private ConfigurationStoreBundle() {
}
public static @NotNull @Nls String message(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key, Object @NotNull ... params) {
return INSTANCE.getMessage(key, params);
}
public static @NotNull Supplier<@Nls String> messagePointer(@NotNull @PropertyKey(resourceBundle = BUNDLE) String key, Object @NotNull ... params) {
return INSTANCE.getLazyMessage(key, params);
}
}