public class com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter
super_class: java.lang.Object
{
public static final java.lang.String DOM_DOMAIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/dom/DOMTR"
public static final java.lang.String XML_DOMAIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/TR/1998/REC-xml-19980210"
public static final java.lang.String SERIALIZER_DOMAIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://apache.org/xml/serializer"
private static java.util.ResourceBundle domResourceBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.ResourceBundle xmlResourceBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.ResourceBundle serResourceBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.domResourceBundle:Ljava/util/ResourceBundle;
1: aconst_null
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.xmlResourceBundle:Ljava/util/ResourceBundle;
2: aconst_null
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.serResourceBundle:Ljava/util/ResourceBundle;
3: aconst_null
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.locale:Ljava/util/Locale;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.locale:Ljava/util/Locale;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xerces/internal/dom/DOMMessageFormatter;
public static java.lang.String formatMessage(java.lang.String, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
astore 3
start local 3 1: aload 3
ifnonnull 6
2: invokestatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.init:()V
3: aload 0
invokestatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
astore 3
4: aload 3
ifnonnull 6
5: new java.util.MissingResourceException
dup
new java.lang.StringBuilder
dup
ldc "Unknown domain"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
aload 1
invokespecial java.util.MissingResourceException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
6: StackMap locals: java.util.ResourceBundle
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 7: aload 2
ifnull 17
8: aload 4
aload 2
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
9: goto 17
10: StackMap locals: java.lang.String java.lang.String java.lang.Object[] java.util.ResourceBundle java.lang.String
StackMap stack: java.lang.Exception
pop
11: aload 3
ldc "FormatFailed"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
12: new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
13: goto 17
end local 4 14: StackMap locals: java.lang.String java.lang.String java.lang.Object[] java.util.ResourceBundle
StackMap stack: java.util.MissingResourceException
pop
15: aload 3
ldc "BadMessageKey"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 16: new java.util.MissingResourceException
dup
aload 1
aload 4
aload 1
invokespecial java.util.MissingResourceException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
17: StackMap locals: java.lang.String
StackMap stack:
aload 4
ifnonnull 29
18: aload 1
astore 4
19: aload 2
arraylength
ifle 29
20: new java.lang.StringBuffer
dup
aload 4
invokespecial java.lang.StringBuffer.<init>:(Ljava/lang/String;)V
astore 5
start local 5 21: aload 5
bipush 63
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
22: iconst_0
istore 6
start local 6 23: goto 28
24: StackMap locals: java.lang.StringBuffer int
StackMap stack:
iload 6
ifle 26
25: aload 5
bipush 38
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
26: StackMap locals:
StackMap stack:
aload 5
aload 2
iload 6
aaload
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
27: iinc 6 1
StackMap locals:
StackMap stack:
28: iload 6
aload 2
arraylength
if_icmplt 24
end local 6 end local 5 29: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 domain Ljava/lang/String;
0 30 1 key Ljava/lang/String;
0 30 2 arguments [Ljava/lang/Object;
1 30 3 resourceBundle Ljava/util/ResourceBundle;
7 14 4 msg Ljava/lang/String;
16 30 4 msg Ljava/lang/String;
21 29 5 str Ljava/lang/StringBuffer;
23 29 6 i I
Exception table:
from to target type
8 9 10 Class java.lang.Exception
6 13 14 Class java.util.MissingResourceException
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
domain
key
arguments
static java.util.ResourceBundle getResourceBundle(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/ResourceBundle;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "http://www.w3.org/dom/DOMTR"
if_acmpeq 1
aload 0
ldc "http://www.w3.org/dom/DOMTR"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.domResourceBundle:Ljava/util/ResourceBundle;
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "http://www.w3.org/TR/1998/REC-xml-19980210"
if_acmpeq 3
aload 0
ldc "http://www.w3.org/TR/1998/REC-xml-19980210"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.xmlResourceBundle:Ljava/util/ResourceBundle;
areturn
4: StackMap locals:
StackMap stack:
aload 0
ldc "http://apache.org/xml/serializer"
if_acmpeq 5
aload 0
ldc "http://apache.org/xml/serializer"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: StackMap locals:
StackMap stack:
getstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.serResourceBundle:Ljava/util/ResourceBundle;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 domain Ljava/lang/String;
MethodParameters:
Name Flags
domain
public static void init();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.locale:Ljava/util/Locale;
ifnull 5
1: ldc "com.sun.org.apache.xerces.internal.impl.msg.DOMMessages"
getstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.locale:Ljava/util/Locale;
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.domResourceBundle:Ljava/util/ResourceBundle;
2: ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLSerializerMessages"
getstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.locale:Ljava/util/Locale;
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.serResourceBundle:Ljava/util/ResourceBundle;
3: ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"
getstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.locale:Ljava/util/Locale;
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.xmlResourceBundle:Ljava/util/ResourceBundle;
4: goto 8
5: StackMap locals:
StackMap stack:
ldc "com.sun.org.apache.xerces.internal.impl.msg.DOMMessages"
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.domResourceBundle:Ljava/util/ResourceBundle;
6: ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLSerializerMessages"
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.serResourceBundle:Ljava/util/ResourceBundle;
7: ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.xmlResourceBundle:Ljava/util/ResourceBundle;
8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
public static void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic com.sun.org.apache.xerces.internal.dom.DOMMessageFormatter.locale:Ljava/util/Locale;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 dlocale Ljava/util/Locale;
MethodParameters:
Name Flags
dlocale
}
SourceFile: "DOMMessageFormatter.java"