final class com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter implements com.sun.org.apache.xerces.internal.util.MessageFormatter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter
super_class: java.lang.Object
{
public static final java.lang.String XPOINTER_DOMAIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/TR/XPTR"
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
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 // com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter this
0: .line 38
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 43
aload 0 /* this */
aconst_null
putfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fLocale:Ljava/util/Locale;
2: .line 45
aload 0 /* this */
aconst_null
putfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
3: .line 38
return
end local 0 // com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xerces/internal/xpointer/XPointerMessageFormatter;
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=5, args_size=4
start local 0 // com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter this
start local 1 // java.util.Locale locale
start local 2 // java.lang.String key
start local 3 // java.lang.Object[] arguments
0: .line 68
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ifnull 1
aload 1 /* locale */
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fLocale:Ljava/util/Locale;
if_acmpeq 10
1: .line 69
StackMap locals:
StackMap stack:
aload 1 /* locale */
ifnull 6
2: .line 70
aload 0 /* this */
3: .line 71
ldc "com.sun.org.apache.xerces.internal.impl.msg.XPointerMessages"
aload 1 /* locale */
4: .line 70
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
5: .line 73
aload 0 /* this */
aload 1 /* locale */
putfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fLocale:Ljava/util/Locale;
6: .line 75
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ifnonnull 10
7: .line 76
aload 0 /* this */
8: .line 77
ldc "com.sun.org.apache.xerces.internal.impl.msg.XPointerMessages"
9: .line 76
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
10: .line 80
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
aload 2 /* key */
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* msg */
start local 4 // java.lang.String msg
11: .line 81
aload 3 /* arguments */
ifnull 17
12: .line 83
aload 4 /* msg */
aload 3 /* arguments */
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4 /* msg */
13: .line 84
goto 17
StackMap locals: com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter java.util.Locale java.lang.String java.lang.Object[] java.lang.String
StackMap stack: java.lang.Exception
14: pop
15: .line 85
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ldc "FormatFailed"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* msg */
16: .line 86
new java.lang.StringBuilder
dup
aload 4 /* msg */
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 /* this */
getfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
aload 2 /* key */
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 /* msg */
17: .line 90
StackMap locals:
StackMap stack:
aload 4 /* msg */
ifnonnull 22
18: .line 91
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ldc "BadMessageKey"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* msg */
19: .line 92
new java.util.MissingResourceException
dup
aload 4 /* msg */
20: .line 93
ldc "com.sun.org.apache.xerces.internal.impl.msg.XPointerMessages"
aload 2 /* key */
21: .line 92
invokespecial java.util.MissingResourceException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
22: .line 96
StackMap locals:
StackMap stack:
aload 4 /* msg */
areturn
end local 4 // java.lang.String msg
end local 3 // java.lang.Object[] arguments
end local 2 // java.lang.String key
end local 1 // java.util.Locale locale
end local 0 // com.sun.org.apache.xerces.internal.xpointer.XPointerMessageFormatter this
LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/org/apache/xerces/internal/xpointer/XPointerMessageFormatter;
0 23 1 locale Ljava/util/Locale;
0 23 2 key Ljava/lang/String;
0 23 3 arguments [Ljava/lang/Object;
11 23 4 msg Ljava/lang/String;
Exception table:
from to target type
12 13 14 Class java.lang.Exception
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
locale
key
arguments
}
SourceFile: "XPointerMessageFormatter.java"