FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rebased/python/src/com/jetbrains/python/PyBundle.java at master · DetachHead/rebased · GitHub
DetachHead
/
rebased
Public
forked from
JetBrains/intellij-community
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
212
Star
5.3k
Code
Issues
37
Pull requests
7
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rebased
/
python
/
src
/
com
/
jetbrains
/
python
/
PyBundle.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (19 loc) · 1001 Bytes
Breadcrumbs
rebased
/
python
/
src
/
com
/
jetbrains
/
python
/
PyBundle.java
Copy path
File metadata and controls
25 lines (19 loc) · 1001 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package
com
.
jetbrains
.
python
;
import
com
.
intellij
.
DynamicBundle
;
import
org
.
jetbrains
.
annotations
.
Nls
;
import
org
.
jetbrains
.
annotations
.
NonNls
;
import
org
.
jetbrains
.
annotations
.
NotNull
;
import
org
.
jetbrains
.
annotations
.
PropertyKey
;
import
java
.
util
.
function
.
Supplier
;
public
final
class
PyBundle
extends
DynamicBundle
{
public
static
final
@
NonNls
String
BUNDLE
=
"messages.PyBundle"
;
public
static
final
PyBundle
INSTANCE
=
new
PyBundle
();
private
PyBundle
() {
super
(
BUNDLE
); }
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
);
}
}
Back
|
FazBrowse Home
|
New Git URL