public class jdk.javadoc.internal.doclets.toolkit.Resources
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.toolkit.Resources
super_class: java.lang.Object
{
protected final java.util.ResourceBundle commonBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.ResourceBundle docletBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected java.util.function.Function<java.lang.String, java.lang.String> mapper;
descriptor: Ljava/util/function/Function;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
public void <init>(java.util.Locale, java.lang.String, java.lang.String);
descriptor: (Ljava/util/Locale;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
aload 1
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putfield jdk.javadoc.internal.doclets.toolkit.Resources.commonBundle:Ljava/util/ResourceBundle;
2: aload 0
aload 3
aload 1
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putfield jdk.javadoc.internal.doclets.toolkit.Resources.docletBundle:Ljava/util/ResourceBundle;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/doclets/toolkit/Resources;
0 4 1 locale Ljava/util/Locale;
0 4 2 commonBundleName Ljava/lang/String;
0 4 3 docletBundleName Ljava/lang/String;
MethodParameters:
Name Flags
locale
commonBundleName
docletBundleName
public void setKeyMapper(java.util.function.Function<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/function/Function;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.javadoc.internal.doclets.toolkit.Resources.mapper:Ljava/util/function/Function;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/doclets/toolkit/Resources;
0 2 1 mapper Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/function/Function<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
mapper
public java.lang.String getText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.mapper:Ljava/util/function/Function;
ifnonnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.mapper:Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
StackMap locals:
StackMap stack: java.lang.String
2: astore 2
start local 2 3: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.docletBundle:Ljava/util/ResourceBundle;
aload 2
invokevirtual java.util.ResourceBundle.containsKey:(Ljava/lang/String;)Z
ifeq 5
4: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.docletBundle:Ljava/util/ResourceBundle;
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.commonBundle:Ljava/util/ResourceBundle;
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/doclets/toolkit/Resources;
0 6 1 key Ljava/lang/String;
3 6 2 mKey Ljava/lang/String;
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
key
public java.lang.String getText(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.getText:(Ljava/lang/String;)Ljava/lang/String;
aload 2
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/doclets/toolkit/Resources;
0 1 1 key Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
key
args
}
SourceFile: "Resources.java"