public class com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter 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.xs.XSMessageFormatter
super_class: java.lang.Object
{
public static final java.lang.String SCHEMA_DOMAIN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/TR/xml-schema-1"
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 // com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter this
0: .line 39
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 47
aload 0 /* this */
aconst_null
putfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fLocale:Ljava/util/Locale;
2: .line 48
aload 0 /* this */
aconst_null
putfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
3: .line 39
return
end local 0 // com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xerces/internal/impl/xs/XSMessageFormatter;
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.impl.xs.XSMessageFormatter 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.impl.xs.XSMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ifnull 1
aload 1 /* locale */
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fLocale:Ljava/util/Locale;
if_acmpeq 6
1: .line 69
StackMap locals:
StackMap stack:
aload 1 /* locale */
ifnull 4
2: .line 70
aload 0 /* this */
ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages"
aload 1 /* locale */
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
3: .line 72
aload 0 /* this */
aload 1 /* locale */
putfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fLocale:Ljava/util/Locale;
4: .line 74
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ifnonnull 6
5: .line 75
aload 0 /* this */
ldc "com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages"
invokestatic jdk.xml.internal.SecuritySupport.getResourceBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
6: .line 78
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.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
7: .line 79
aload 3 /* arguments */
ifnull 13
8: .line 81
aload 4 /* msg */
aload 3 /* arguments */
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4 /* msg */
9: .line 82
goto 13
StackMap locals: com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter java.util.Locale java.lang.String java.lang.Object[] java.lang.String
StackMap stack: java.lang.Exception
10: pop
11: .line 83
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ldc "FormatFailed"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* msg */
12: .line 84
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.impl.xs.XSMessageFormatter.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 */
13: .line 88
StackMap locals:
StackMap stack:
aload 4 /* msg */
ifnonnull 16
14: .line 89
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.fResourceBundle:Ljava/util/ResourceBundle;
ldc "BadMessageKey"
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4 /* msg */
15: .line 90
new java.util.MissingResourceException
dup
aload 4 /* msg */
ldc "com.sun.org.apache.xerces.internal.impl.msg.SchemaMessages"
aload 2 /* key */
invokespecial java.util.MissingResourceException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
16: .line 93
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.impl.xs.XSMessageFormatter this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/org/apache/xerces/internal/impl/xs/XSMessageFormatter;
0 17 1 locale Ljava/util/Locale;
0 17 2 key Ljava/lang/String;
0 17 3 arguments [Ljava/lang/Object;
7 17 4 msg Ljava/lang/String;
Exception table:
from to target type
8 9 10 Class java.lang.Exception
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
locale
key
arguments
}
SourceFile: "XSMessageFormatter.java"