mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
25 lines
984 B
Java
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);
|
|
}
|
|
}
|