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
{
private final jdk.javadoc.internal.doclets.toolkit.BaseConfiguration configuration;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String commonBundleName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String docletBundleName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected java.util.ResourceBundle commonBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0004) ACC_PROTECTED
protected java.util.ResourceBundle docletBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0004) ACC_PROTECTED
public void <init>(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration, java.lang.String, java.lang.String);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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 1
putfield jdk.javadoc.internal.doclets.toolkit.Resources.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
2: aload 0
aload 2
putfield jdk.javadoc.internal.doclets.toolkit.Resources.commonBundleName:Ljava/lang/String;
3: aload 0
aload 3
putfield jdk.javadoc.internal.doclets.toolkit.Resources.docletBundleName:Ljava/lang/String;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/toolkit/Resources;
0 5 1 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
0 5 2 commonBundleName Ljava/lang/String;
0 5 3 docletBundleName Ljava/lang/String;
MethodParameters:
Name Flags
configuration
commonBundleName
docletBundleName
public java.lang.String getText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.javadoc.internal.doclets.toolkit.Resources.initBundles:()V
1: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.docletBundle:Ljava/util/ResourceBundle;
aload 1
invokevirtual java.util.ResourceBundle.containsKey:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.docletBundle:Ljava/util/ResourceBundle;
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.commonBundle:Ljava/util/ResourceBundle;
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
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 key 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
protected void initBundles();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.commonBundle:Ljava/util/ResourceBundle;
ifnonnull 4
1: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
invokevirtual jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.getLocale:()Ljava/util/Locale;
astore 1
start local 1 2: aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.commonBundleName:Ljava/lang/String;
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;
3: aload 0
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.Resources.docletBundleName:Ljava/lang/String;
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;
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/javadoc/internal/doclets/toolkit/Resources;
2 4 1 locale Ljava/util/Locale;
}
SourceFile: "Resources.java"