public class com.sun.tools.javac.util.JavacMessages implements com.sun.tools.javac.api.Messages
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.util.JavacMessages
super_class: java.lang.Object
{
public static final com.sun.tools.javac.util.Context$Key<com.sun.tools.javac.util.JavacMessages> messagesKey;
descriptor: Lcom/sun/tools/javac/util/Context$Key;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lcom/sun/tools/javac/util/Context$Key<Lcom/sun/tools/javac/util/JavacMessages;>;
private java.util.Map<java.util.Locale, java.lang.ref.SoftReference<com.sun.tools.javac.util.List<java.util.ResourceBundle>>> bundleCache;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/util/Locale;Ljava/lang/ref/SoftReference<Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;>;>;
private com.sun.tools.javac.util.List<com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper> bundleHelpers;
descriptor: Lcom/sun/tools/javac/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/sun/tools/javac/util/List<Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;>;
private java.util.Locale currentLocale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private com.sun.tools.javac.util.List<java.util.ResourceBundle> currentBundles;
descriptor: Lcom/sun/tools/javac/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;
private com.sun.tools.javac.api.DiagnosticFormatter<com.sun.tools.javac.util.JCDiagnostic> diagFormatter;
descriptor: Lcom/sun/tools/javac/api/DiagnosticFormatter;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/sun/tools/javac/api/DiagnosticFormatter<Lcom/sun/tools/javac/util/JCDiagnostic;>;
private com.sun.tools.javac.util.JCDiagnostic$Factory diagFactory;
descriptor: Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
flags: (0x0002) ACC_PRIVATE
com.sun.tools.javac.util.Context context;
descriptor: Lcom/sun/tools/javac/util/Context;
flags: (0x0000)
private static final java.lang.String defaultBundleName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.tools.javac.resources.compiler"
private static java.util.ResourceBundle defaultBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static com.sun.tools.javac.util.JavacMessages defaultMessages;
descriptor: Lcom/sun/tools/javac/util/JavacMessages;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.tools.javac.util.Context$Key
dup
invokespecial com.sun.tools.javac.util.Context$Key.<init>:()V
putstatic com.sun.tools.javac.util.JavacMessages.messagesKey:Lcom/sun/tools/javac/util/Context$Key;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.tools.javac.util.JavacMessages instance(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/JavacMessages;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic com.sun.tools.javac.util.JavacMessages.messagesKey:Lcom/sun/tools/javac/util/Context$Key;
invokevirtual com.sun.tools.javac.util.Context.get:(Lcom/sun/tools/javac/util/Context$Key;)Ljava/lang/Object;
checkcast com.sun.tools.javac.util.JavacMessages
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new com.sun.tools.javac.util.JavacMessages
dup
aload 0
invokespecial com.sun.tools.javac.util.JavacMessages.<init>:(Lcom/sun/tools/javac/util/Context;)V
astore 1
3: StackMap locals: com.sun.tools.javac.util.JavacMessages
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 context Lcom/sun/tools/javac/util/Context;
1 4 1 instance Lcom/sun/tools/javac/util/JavacMessages;
MethodParameters:
Name Flags
context
public java.util.Locale getCurrentLocale();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.JavacMessages.currentLocale:Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/JavacMessages;
public void setCurrentLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.sun.tools.javac.util.JavacMessages.getBundles:(Ljava/util/Locale;)Lcom/sun/tools/javac/util/List;
putfield com.sun.tools.javac.util.JavacMessages.currentBundles:Lcom/sun/tools/javac/util/List;
3: aload 0
aload 1
putfield com.sun.tools.javac.util.JavacMessages.currentLocale:Ljava/util/Locale;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 5 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void <init>(com.sun.tools.javac.util.Context);
descriptor: (Lcom/sun/tools/javac/util/Context;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ldc "com.sun.tools.javac.resources.compiler"
aload 1
ldc Ljava/util/Locale;
invokevirtual com.sun.tools.javac.util.Context.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.util.Locale
invokespecial com.sun.tools.javac.util.JavacMessages.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
1: aload 0
aload 1
putfield com.sun.tools.javac.util.JavacMessages.context:Lcom/sun/tools/javac/util/Context;
2: aload 1
getstatic com.sun.tools.javac.util.JavacMessages.messagesKey:Lcom/sun/tools/javac/util/Context$Key;
aload 0
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Ljava/lang/Object;)V
3: aload 1
invokestatic com.sun.tools.javac.util.Options.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Options;
astore 2
start local 2 4: aload 2
ldc "rawDiagnostics"
invokevirtual com.sun.tools.javac.util.Options.isSet:(Ljava/lang/String;)Z
istore 3
start local 3 5: aload 0
iload 3
ifeq 6
new com.sun.tools.javac.util.RawDiagnosticFormatter
dup
aload 2
invokespecial com.sun.tools.javac.util.RawDiagnosticFormatter.<init>:(Lcom/sun/tools/javac/util/Options;)V
goto 7
6: StackMap locals: com.sun.tools.javac.util.JavacMessages com.sun.tools.javac.util.Context com.sun.tools.javac.util.Options int
StackMap stack: com.sun.tools.javac.util.JavacMessages
new com.sun.tools.javac.util.BasicDiagnosticFormatter
dup
aload 2
aload 0
invokespecial com.sun.tools.javac.util.BasicDiagnosticFormatter.<init>:(Lcom/sun/tools/javac/util/Options;Lcom/sun/tools/javac/util/JavacMessages;)V
7: StackMap locals: com.sun.tools.javac.util.JavacMessages com.sun.tools.javac.util.Context com.sun.tools.javac.util.Options int
StackMap stack: com.sun.tools.javac.util.JavacMessages com.sun.tools.javac.util.AbstractDiagnosticFormatter
putfield com.sun.tools.javac.util.JavacMessages.diagFormatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 9 1 context Lcom/sun/tools/javac/util/Context;
4 9 2 options Lcom/sun/tools/javac/util/Options;
5 9 3 rawDiagnostics Z
MethodParameters:
Name Flags
context
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokespecial com.sun.tools.javac.util.JavacMessages.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 2 1 bundleName Ljava/lang/String;
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
bundleName
public void <init>(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic com.sun.tools.javac.util.List.nil:()Lcom/sun/tools/javac/util/List;
putfield com.sun.tools.javac.util.JavacMessages.bundleHelpers:Lcom/sun/tools/javac/util/List;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.javac.util.JavacMessages.bundleCache:Ljava/util/Map;
3: aload 0
aload 1
invokevirtual com.sun.tools.javac.util.JavacMessages.add:(Ljava/lang/String;)V
4: aload 0
aload 2
invokevirtual com.sun.tools.javac.util.JavacMessages.setCurrentLocale:(Ljava/util/Locale;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 6 1 bundleName Ljava/lang/String;
0 6 2 locale Ljava/util/Locale;
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
bundleName
locale
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "com.sun.tools.javac.resources.compiler"
invokespecial com.sun.tools.javac.util.JavacMessages.<init>:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/JavacMessages;
Exceptions:
throws java.util.MissingResourceException
public void add(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokedynamic getResourceBundle(Ljava/lang/String;)Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/util/Locale;)Ljava/util/ResourceBundle;
com/sun/tools/javac/util/JavacMessages.lambda$0(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle; (6)
(Ljava/util/Locale;)Ljava/util/ResourceBundle;
invokevirtual com.sun.tools.javac.util.JavacMessages.add:(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 2 1 bundleName Ljava/lang/String;
Exceptions:
throws java.util.MissingResourceException
MethodParameters:
Name Flags
bundleName
public void add(com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper);
descriptor: (Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.javac.util.JavacMessages.bundleHelpers:Lcom/sun/tools/javac/util/List;
aload 1
invokevirtual com.sun.tools.javac.util.List.prepend:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
putfield com.sun.tools.javac.util.JavacMessages.bundleHelpers:Lcom/sun/tools/javac/util/List;
1: aload 0
getfield com.sun.tools.javac.util.JavacMessages.bundleCache:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 3
2: aload 0
getfield com.sun.tools.javac.util.JavacMessages.bundleCache:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.tools.javac.util.JavacMessages.currentBundles:Lcom/sun/tools/javac/util/List;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 5 1 ma Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;
MethodParameters:
Name Flags
ma
public com.sun.tools.javac.util.List<java.util.ResourceBundle> getBundles(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lcom/sun/tools/javac/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.sun.tools.javac.util.JavacMessages.currentLocale:Ljava/util/Locale;
if_acmpne 2
aload 0
getfield com.sun.tools.javac.util.JavacMessages.currentBundles:Lcom/sun/tools/javac/util/List;
ifnull 2
1: aload 0
getfield com.sun.tools.javac.util.JavacMessages.currentBundles:Lcom/sun/tools/javac/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.JavacMessages.bundleCache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 2
start local 2 3: aload 2
ifnonnull 4
aconst_null
goto 5
StackMap locals: java.lang.ref.SoftReference
StackMap stack:
4: aload 2
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast com.sun.tools.javac.util.List
StackMap locals:
StackMap stack: com.sun.tools.javac.util.List
5: astore 3
start local 3 6: aload 3
ifnonnull 19
7: invokestatic com.sun.tools.javac.util.List.nil:()Lcom/sun/tools/javac/util/List;
astore 3
8: aload 0
getfield com.sun.tools.javac.util.JavacMessages.bundleHelpers:Lcom/sun/tools/javac/util/List;
invokevirtual com.sun.tools.javac.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 17
StackMap locals: com.sun.tools.javac.util.JavacMessages java.util.Locale java.lang.ref.SoftReference com.sun.tools.javac.util.List top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper
astore 4
start local 4 10: aload 4
aload 1
invokeinterface com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper.getResourceBundle:(Ljava/util/Locale;)Ljava/util/ResourceBundle;
astore 6
start local 6 11: aload 3
aload 6
invokevirtual com.sun.tools.javac.util.List.prepend:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
astore 3
end local 6 12: goto 17
StackMap locals: com.sun.tools.javac.util.JavacMessages java.util.Locale java.lang.ref.SoftReference com.sun.tools.javac.util.List com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper java.util.Iterator
StackMap stack: java.util.MissingResourceException
13: astore 6
start local 6 14: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Cannot find requested resource bundle for locale "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
16: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 4 17: StackMap locals: com.sun.tools.javac.util.JavacMessages java.util.Locale java.lang.ref.SoftReference com.sun.tools.javac.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
18: aload 0
getfield com.sun.tools.javac.util.JavacMessages.bundleCache:Ljava/util/Map;
aload 1
new java.lang.ref.SoftReference
dup
aload 3
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals: com.sun.tools.javac.util.JavacMessages java.util.Locale java.lang.ref.SoftReference com.sun.tools.javac.util.List
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 20 1 locale Ljava/util/Locale;
3 20 2 bundles Ljava/lang/ref/SoftReference<Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;>;
6 20 3 bundleList Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;
10 17 4 helper Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;
11 12 6 rb Ljava/util/ResourceBundle;
14 17 6 e Ljava/util/MissingResourceException;
Exception table:
from to target type
10 12 13 Class java.util.MissingResourceException
Signature: (Ljava/util/Locale;)Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;
MethodParameters:
Name Flags
locale
public java.lang.String getLocalizedString(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield com.sun.tools.javac.util.JavacMessages.currentLocale:Ljava/util/Locale;
aload 1
aload 2
invokevirtual com.sun.tools.javac.util.JavacMessages.getLocalizedString:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 1 1 key Ljava/lang/String;
0 1 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
public java.lang.String getLocalizedString(com.sun.tools.javac.util.JCDiagnostic$DiagnosticInfo);
descriptor: (Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.tools.javac.util.JavacMessages.currentLocale:Ljava/util/Locale;
aload 1
invokevirtual com.sun.tools.javac.util.JavacMessages.getLocalizedString:(Ljava/util/Locale;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 1 1 diagInfo Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;
MethodParameters:
Name Flags
diagInfo
public java.lang.String getLocalizedString(java.util.Locale, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: aload 0
invokevirtual com.sun.tools.javac.util.JavacMessages.getCurrentLocale:()Ljava/util/Locale;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.tools.javac.util.JavacMessages.getBundles:(Ljava/util/Locale;)Lcom/sun/tools/javac/util/List;
aload 2
aload 3
invokestatic com.sun.tools.javac.util.JavacMessages.getLocalizedString:(Lcom/sun/tools/javac/util/List;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 3 1 l Ljava/util/Locale;
0 3 2 key Ljava/lang/String;
0 3 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
l
key
args
public java.lang.String getLocalizedString(java.util.Locale, com.sun.tools.javac.util.JCDiagnostic$DiagnosticInfo);
descriptor: (Ljava/util/Locale;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
invokevirtual com.sun.tools.javac.util.JavacMessages.getCurrentLocale:()Ljava/util/Locale;
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual com.sun.tools.javac.util.JavacMessages.getBundles:(Ljava/util/Locale;)Lcom/sun/tools/javac/util/List;
aload 2
invokevirtual com.sun.tools.javac.util.JavacMessages.getLocalizedString:(Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 3 1 l Ljava/util/Locale;
0 3 2 diagInfo Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;
MethodParameters:
Name Flags
l
diagInfo
static java.lang.String getDefaultLocalizedString(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.sun.tools.javac.util.JavacMessages.getDefaultBundle:()Ljava/util/ResourceBundle;
invokestatic com.sun.tools.javac.util.List.of:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
aload 0
aload 1
invokestatic com.sun.tools.javac.util.JavacMessages.getLocalizedString:(Lcom/sun/tools/javac/util/List;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
key
args
static com.sun.tools.javac.util.JavacMessages getDefaultMessages();
descriptor: ()Lcom/sun/tools/javac/util/JavacMessages;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic com.sun.tools.javac.util.JavacMessages.defaultMessages:Lcom/sun/tools/javac/util/JavacMessages;
ifnonnull 2
1: new com.sun.tools.javac.util.JavacMessages
dup
ldc "com.sun.tools.javac.resources.compiler"
invokespecial com.sun.tools.javac.util.JavacMessages.<init>:(Ljava/lang/String;)V
putstatic com.sun.tools.javac.util.JavacMessages.defaultMessages:Lcom/sun/tools/javac/util/JavacMessages;
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.javac.util.JavacMessages.defaultMessages:Lcom/sun/tools/javac/util/JavacMessages;
areturn
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static java.util.ResourceBundle getDefaultBundle();
descriptor: ()Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: getstatic com.sun.tools.javac.util.JavacMessages.defaultBundle:Ljava/util/ResourceBundle;
ifnonnull 2
1: ldc "com.sun.tools.javac.resources.compiler"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putstatic com.sun.tools.javac.util.JavacMessages.defaultBundle:Ljava/util/ResourceBundle;
2: StackMap locals:
StackMap stack:
getstatic com.sun.tools.javac.util.JavacMessages.defaultBundle:Ljava/util/ResourceBundle;
3: areturn
4: StackMap locals:
StackMap stack: java.util.MissingResourceException
astore 0
start local 0 5: new java.lang.Error
dup
ldc "Fatal: Resource for compiler is missing"
aload 0
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
5 6 0 e Ljava/util/MissingResourceException;
Exception table:
from to target type
0 3 4 Class java.util.MissingResourceException
private static java.lang.String getLocalizedString(com.sun.tools.javac.util.List<java.util.ResourceBundle>, java.lang.String, []);
descriptor: (Lcom/sun/tools/javac/util/List;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
astore 4
start local 4 2: goto 8
3: StackMap locals: java.lang.String com.sun.tools.javac.util.List
StackMap stack:
aload 4
getfield com.sun.tools.javac.util.List.head:Ljava/lang/Object;
checkcast java.util.ResourceBundle
astore 5
start local 5 4: aload 5
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
5: goto 7
6: StackMap locals: com.sun.tools.javac.util.List java.lang.String java.lang.Object[] java.lang.String com.sun.tools.javac.util.List java.util.ResourceBundle
StackMap stack: java.util.MissingResourceException
pop
end local 5 7: StackMap locals:
StackMap stack:
aload 4
getfield com.sun.tools.javac.util.List.tail:Lcom/sun/tools/javac/util/List;
astore 4
StackMap locals:
StackMap stack:
8: aload 4
invokevirtual com.sun.tools.javac.util.List.nonEmpty:()Z
ifeq 9
aload 3
ifnull 3
end local 4 9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 13
10: new java.lang.StringBuilder
dup
ldc "compiler message file broken: key="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " arguments={0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
13: StackMap locals:
StackMap stack:
aload 3
aload 2
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 bundles Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;
0 14 1 key Ljava/lang/String;
0 14 2 args [Ljava/lang/Object;
1 14 3 msg Ljava/lang/String;
2 9 4 l Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;
4 7 5 rb Ljava/util/ResourceBundle;
Exception table:
from to target type
4 5 6 Class java.util.MissingResourceException
Signature: (Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
MethodParameters:
Name Flags
bundles
key
args
private java.lang.String getLocalizedString(com.sun.tools.javac.util.List<java.util.ResourceBundle>, com.sun.tools.javac.util.JCDiagnostic$DiagnosticInfo);
descriptor: (Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
astore 4
start local 4 2: goto 8
3: StackMap locals: java.lang.String com.sun.tools.javac.util.List
StackMap stack:
aload 4
getfield com.sun.tools.javac.util.List.head:Ljava/lang/Object;
checkcast java.util.ResourceBundle
astore 5
start local 5 4: aload 5
aload 2
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticInfo.key:()Ljava/lang/String;
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
5: goto 7
6: StackMap locals: com.sun.tools.javac.util.JavacMessages com.sun.tools.javac.util.List com.sun.tools.javac.util.JCDiagnostic$DiagnosticInfo java.lang.String com.sun.tools.javac.util.List java.util.ResourceBundle
StackMap stack: java.util.MissingResourceException
pop
end local 5 7: StackMap locals:
StackMap stack:
aload 4
getfield com.sun.tools.javac.util.List.tail:Lcom/sun/tools/javac/util/List;
astore 4
StackMap locals:
StackMap stack:
8: aload 4
invokevirtual com.sun.tools.javac.util.List.nonEmpty:()Z
ifeq 9
aload 3
ifnull 3
end local 4 9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 13
10: new java.lang.StringBuilder
dup
ldc "compiler message file broken: key="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual com.sun.tools.javac.util.JCDiagnostic$DiagnosticInfo.key:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
11: ldc " arguments={0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
13: StackMap locals:
StackMap stack:
aload 2
getstatic com.sun.tools.javac.resources.CompilerProperties$Errors.Error:Lcom/sun/tools/javac/util/JCDiagnostic$Error;
if_acmpne 15
14: aload 3
iconst_0
anewarray java.lang.Object
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.JavacMessages.diagFormatter:Lcom/sun/tools/javac/api/DiagnosticFormatter;
aload 0
invokevirtual com.sun.tools.javac.util.JavacMessages.getDiagFactory:()Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
getstatic com.sun.tools.javac.util.DiagnosticSource.NO_SOURCE:Lcom/sun/tools/javac/util/DiagnosticSource;
aconst_null
aload 2
invokevirtual com.sun.tools.javac.util.JCDiagnostic$Factory.create:(Lcom/sun/tools/javac/util/DiagnosticSource;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticPosition;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;)Lcom/sun/tools/javac/util/JCDiagnostic;
16: aload 0
invokevirtual com.sun.tools.javac.util.JavacMessages.getCurrentLocale:()Ljava/util/Locale;
17: invokeinterface com.sun.tools.javac.api.DiagnosticFormatter.format:(Ljavax/tools/Diagnostic;Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/tools/javac/util/JavacMessages;
0 18 1 bundles Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;
0 18 2 diagInfo Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;
1 18 3 msg Ljava/lang/String;
2 9 4 l Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;
4 7 5 rb Ljava/util/ResourceBundle;
Exception table:
from to target type
4 5 6 Class java.util.MissingResourceException
Signature: (Lcom/sun/tools/javac/util/List<Ljava/util/ResourceBundle;>;Lcom/sun/tools/javac/util/JCDiagnostic$DiagnosticInfo;)Ljava/lang/String;
MethodParameters:
Name Flags
bundles
diagInfo
com.sun.tools.javac.util.JCDiagnostic$Factory getDiagFactory();
descriptor: ()Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.util.JavacMessages.diagFactory:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
ifnonnull 2
1: aload 0
aload 0
getfield com.sun.tools.javac.util.JavacMessages.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.util.JCDiagnostic$Factory.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
putfield com.sun.tools.javac.util.JavacMessages.diagFactory:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.javac.util.JavacMessages.diagFactory:Lcom/sun/tools/javac/util/JCDiagnostic$Factory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/util/JavacMessages;
private static java.util.ResourceBundle lambda$0(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 locale Ljava/util/Locale;
}
SourceFile: "JavacMessages.java"
NestMembers:
com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper
InnerClasses:
public Errors = com.sun.tools.javac.resources.CompilerProperties$Errors of com.sun.tools.javac.resources.CompilerProperties
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context
public abstract DiagnosticInfo = com.sun.tools.javac.util.JCDiagnostic$DiagnosticInfo of com.sun.tools.javac.util.JCDiagnostic
public abstract DiagnosticPosition = com.sun.tools.javac.util.JCDiagnostic$DiagnosticPosition of com.sun.tools.javac.util.JCDiagnostic
public Factory = com.sun.tools.javac.util.JCDiagnostic$Factory of com.sun.tools.javac.util.JCDiagnostic
public abstract ResourceBundleHelper = com.sun.tools.javac.util.JavacMessages$ResourceBundleHelper of com.sun.tools.javac.util.JavacMessages
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles