public final class sun.tools.jconsole.Resources
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.tools.jconsole.Resources
super_class: java.lang.Object
{
private static java.util.Map<java.lang.String, java.lang.Integer> MNEMONIC_LOOKUP;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
1: putstatic sun.tools.jconsole.Resources.MNEMONIC_LOOKUP:Ljava/util/Map;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/Resources;
public static java.lang.String format(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.text.MessageFormat.format:(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 pattern Ljava/lang/String;
0 1 1 arguments [Ljava/lang/Object;
MethodParameters:
Name Flags
pattern
arguments
public static int getMnemonicInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.tools.jconsole.Resources.MNEMONIC_LOOKUP:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.Integer.intValue:()I
ireturn
3: StackMap locals: java.lang.Integer
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 message Ljava/lang/String;
1 4 1 integer Ljava/lang/Integer;
MethodParameters:
Name Flags
message
public static void initializeMessages(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
astore 2
2: goto 4
StackMap locals: java.lang.Class java.lang.String java.util.ResourceBundle
StackMap stack: java.util.MissingResourceException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getFields:()[Ljava/lang/reflect/Field;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: java.lang.Class java.lang.String java.util.ResourceBundle top int int java.lang.reflect.Field[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
invokestatic sun.tools.jconsole.Resources.isWritableField:(Ljava/lang/reflect/Field;)Z
ifeq 14
7: aload 3
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
astore 7
start local 7 8: aload 2
aload 7
invokestatic sun.tools.jconsole.Resources.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 9: aload 8
invokestatic sun.tools.jconsole.Resources.findMnemonicInt:(Ljava/lang/String;)I
istore 9
start local 9 10: aload 8
invokestatic sun.tools.jconsole.Resources.removeMnemonicAmpersand:(Ljava/lang/String;)Ljava/lang/String;
astore 8
11: aload 8
invokestatic sun.tools.jconsole.Resources.replaceWithPlatformLineFeed:(Ljava/lang/String;)Ljava/lang/String;
astore 8
12: aload 3
aload 8
invokestatic sun.tools.jconsole.Resources.setFieldValue:(Ljava/lang/reflect/Field;Ljava/lang/String;)V
13: getstatic sun.tools.jconsole.Resources.MNEMONIC_LOOKUP:Ljava/util/Map;
aload 8
iload 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 end local 3 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 5
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 clazz Ljava/lang/Class<*>;
0 17 1 rbName Ljava/lang/String;
1 17 2 rb Ljava/util/ResourceBundle;
6 14 3 field Ljava/lang/reflect/Field;
8 14 7 key Ljava/lang/String;
9 14 8 message Ljava/lang/String;
10 14 9 mnemonicInt I
Exception table:
from to target type
1 2 3 Class java.util.MissingResourceException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
clazz
rbName
private static boolean isWritableField(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Field.getModifiers:()I
istore 1
start local 1 1: iload 1
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 4
iload 1
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifeq 4
2: iload 1
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
ifne 4
3: iconst_1
ireturn
StackMap locals: int
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 field Ljava/lang/reflect/Field;
1 5 1 modifiers I
MethodParameters:
Name Flags
field
private static java.lang.String getMessage(java.util.ResourceBundle, java.lang.String);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: ldc "missing resource bundle"
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
3: areturn
4: StackMap locals:
StackMap stack: java.util.MissingResourceException
pop
5: new java.lang.StringBuilder
dup
ldc "missing message for key = \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc "\" in resource bundle "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 rb Ljava/util/ResourceBundle;
0 8 1 key Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.util.MissingResourceException
MethodParameters:
Name Flags
rb
key
private static void setFieldValue(java.lang.reflect.Field, java.lang.String);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokevirtual java.lang.reflect.Field.set:(Ljava/lang/Object;Ljava/lang/Object;)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.Exception
2: pop
3: new java.lang.Error
dup
new java.lang.StringBuilder
dup
ldc "Unable to access or set message for field "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 field Ljava/lang/reflect/Field;
0 5 1 value Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
0 1 2 Class java.lang.IllegalAccessException
MethodParameters:
Name Flags
field
value
private static java.lang.String replaceWithPlatformLineFeed(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "\n"
ldc "line.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 text Ljava/lang/String;
MethodParameters:
Name Flags
text
private static java.lang.String removeMnemonicAmpersand(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
bipush 38
if_icmpne 6
iload 2
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpeq 6
5: aload 0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 38
if_icmpne 7
6: StackMap locals: int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 message Ljava/lang/String;
1 10 1 s Ljava/lang/StringBuilder;
2 9 2 i I
4 7 3 current C
MethodParameters:
Name Flags
message
private static int findMnemonicInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual java.lang.String.charAt:(I)C
bipush 38
if_icmpne 6
3: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 38
if_icmpeq 5
4: aload 0
iload 1
iconst_1
iadd
iload 1
iconst_2
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic sun.tools.jconsole.Resources.lookupMnemonicInt:(Ljava/lang/String;)I
ireturn
5: StackMap locals:
StackMap stack:
iinc 1 1
6: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
7: iload 1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmplt 2
end local 1 8: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 s Ljava/lang/String;
1 8 1 i I
MethodParameters:
Name Flags
s
private static int lookupMnemonicInt(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: ldc Ljava/awt/event/KeyEvent;
new java.lang.StringBuilder
dup
ldc "VK_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
1: aconst_null
invokevirtual java.lang.reflect.Field.getInt:(Ljava/lang/Object;)I
2: ireturn
3: StackMap locals:
StackMap stack: java.lang.Exception
pop
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 c Ljava/lang/String;
Exception table:
from to target type
0 2 3 Class java.lang.IllegalArgumentException
0 2 3 Class java.lang.IllegalAccessException
0 2 3 Class java.lang.NoSuchFieldException
0 2 3 Class java.lang.SecurityException
MethodParameters:
Name Flags
c
}
SourceFile: "Resources.java"