public final class com.sun.org.apache.xml.internal.serializer.utils.Messages
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xml.internal.serializer.utils.Messages
super_class: java.lang.Object
{
private final java.util.Locale m_locale;
descriptor: Ljava/util/Locale;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.ListResourceBundle m_resourceBundle;
descriptor: Ljava/util/ListResourceBundle;
flags: (0x0002) ACC_PRIVATE
private java.lang.String m_resourceBundleName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
putfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_locale:Ljava/util/Locale;
2: aload 0
aload 1
putfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundleName:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
0 4 1 resourceBundle Ljava/lang/String;
MethodParameters:
Name Flags
resourceBundle
private java.util.Locale getLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_locale:Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
public final java.lang.String createMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundle:Ljava/util/ListResourceBundle;
ifnonnull 2
1: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundleName:Ljava/lang/String;
invokestatic com.sun.org.apache.xalan.internal.utils.SecuritySupport.getResourceBundle:(Ljava/lang/String;)Ljava/util/ListResourceBundle;
putfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundle:Ljava/util/ListResourceBundle;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundle:Ljava/util/ListResourceBundle;
ifnull 4
3: aload 0
aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundle:Ljava/util/ListResourceBundle;
aload 1
aload 2
invokevirtual com.sun.org.apache.xml.internal.serializer.utils.Messages.createMsg:(Ljava/util/ListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Could not load the resource bundles: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundleName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
0 5 1 msgKey Ljava/lang/String;
0 5 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
msgKey
args
private final java.lang.String createMsg(java.util.ListResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/ListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: aconst_null
astore 6
start local 6 3: aload 2
ifnull 5
4: aload 1
aload 2
invokevirtual java.util.ListResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 6
goto 6
5: StackMap locals: java.lang.String int java.lang.String
StackMap stack:
ldc ""
astore 2
6: StackMap locals:
StackMap stack:
aload 6
ifnonnull 21
7: iconst_1
istore 5
8: ldc "BAD_MSGKEY"
9: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundleName:Ljava/lang/String;
aastore
10: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
11: astore 6
12: goto 49
13: StackMap locals:
StackMap stack: java.lang.Exception
pop
14: new java.lang.StringBuilder
dup
ldc "The message key '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc "' is not in the message class '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundleName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
18: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: astore 6
20: goto 49
21: StackMap locals:
StackMap stack:
aload 3
ifnull 48
22: aload 3
arraylength
istore 7
start local 7 23: iconst_0
istore 8
start local 8 24: goto 28
25: StackMap locals: int int
StackMap stack:
aload 3
iload 8
aaload
ifnonnull 27
26: aload 3
iload 8
ldc ""
aastore
27: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
28: iload 8
iload 7
if_icmplt 25
end local 8 29: aload 6
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
end local 7 30: goto 49
31: StackMap locals: com.sun.org.apache.xml.internal.serializer.utils.Messages java.util.ListResourceBundle java.lang.String java.lang.Object[] java.lang.String int java.lang.String
StackMap stack: java.lang.Exception
pop
32: iconst_1
istore 5
33: ldc "BAD_MSGFORMAT"
34: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundleName:Ljava/lang/String;
aastore
35: invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
36: astore 4
37: 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 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
38: goto 49
39: StackMap locals:
StackMap stack: java.lang.Exception
pop
40: new java.lang.StringBuilder
dup
ldc "The format of message '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
41: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
42: ldc "' in message class '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43: aload 0
getfield com.sun.org.apache.xml.internal.serializer.utils.Messages.m_resourceBundleName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
44: ldc "' failed."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
45: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
46: astore 4
47: goto 49
48: StackMap locals:
StackMap stack:
aload 6
astore 4
49: StackMap locals:
StackMap stack:
iload 5
ifeq 51
50: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
51: StackMap locals:
StackMap stack:
aload 4
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Lcom/sun/org/apache/xml/internal/serializer/utils/Messages;
0 52 1 fResourceBundle Ljava/util/ListResourceBundle;
0 52 2 msgKey Ljava/lang/String;
0 52 3 args [Ljava/lang/Object;
1 52 4 fmsg Ljava/lang/String;
2 52 5 throwex Z
3 52 6 msg Ljava/lang/String;
23 30 7 n I
24 29 8 i I
Exception table:
from to target type
8 12 13 Class java.lang.Exception
22 30 31 Class java.lang.Exception
33 38 39 Class java.lang.Exception
MethodParameters:
Name Flags
fResourceBundle
msgKey
args
}
SourceFile: "Messages.java"