public class com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter implements com.sun.org.apache.xerces.internal.util.MessageFormatter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter
super_class: java.lang.Object
{
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 XMLNS_DOMAIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/TR/1999/REC-xml-names-19990114"
private java.util.Locale fLocale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private java.util.ResourceBundle fResourceBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fLocale:Ljava/util/Locale;
2: aload 0
aconst_null
putfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter;
public java.lang.String formatMessage(java.util.Locale, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ifnull 1
aload 1
aload 0
getfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fLocale:Ljava/util/Locale;
if_acmpeq 6
1: StackMap locals:
StackMap stack:
aload 1
ifnull 4
2: aload 0
ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"
aload 1
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
3: aload 0
aload 1
putfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fLocale:Ljava/util/Locale;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ifnonnull 6
5: aload 0
ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLMessages"
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 7: aload 3
ifnull 17
8: aload 4
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
9: goto 17
10: StackMap locals: com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter java.util.Locale java.lang.String java.lang.Object[] java.lang.String
StackMap stack: java.lang.Exception
pop
11: aload 0
getfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
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 0
getfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
aload 2
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: com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter java.util.Locale java.lang.String java.lang.Object[]
StackMap stack: java.util.MissingResourceException
pop
15: aload 0
getfield com.sun.org.apache.xerces.internal.impl.msg.XMLMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
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 2
aload 4
aload 2
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 2
astore 4
19: aload 3
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 3
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 3
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 this Lcom/sun/org/apache/xerces/internal/impl/msg/XMLMessageFormatter;
0 30 1 locale Ljava/util/Locale;
0 30 2 key Ljava/lang/String;
0 30 3 arguments [Ljava/lang/Object;
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
locale
key
arguments
}
SourceFile: "XMLMessageFormatter.java"