public class sun.tools.jconsole.inspector.Utils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.inspector.Utils
super_class: java.lang.Object
{
private static java.util.Set<java.lang.Integer> tableNavigationKeys;
descriptor: Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Set<Ljava/lang/Integer;>;
private static final java.util.Set<java.lang.Class<?>> primitiveWrappers;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
private static final java.util.Set<java.lang.Class<?>> primitives;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
private static final java.util.Map<java.lang.String, java.lang.Class<?>> primitiveMap;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
private static final java.util.Map<java.lang.String, java.lang.Class<?>> primitiveToWrapper;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Class<*>;>;
private static final java.util.Set<java.lang.String> editableTypes;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.Class<?>> ;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
private static final java.util.Set<java.lang.String> numericalTypes;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> ;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.String> booleanTypes;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=0
0: new java.util.HashSet
dup
bipush 10
anewarray java.lang.Integer
dup
iconst_0
1: bipush 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
2: bipush 36
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 35
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
3: bipush 37
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 39
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 6
4: bipush 38
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 7
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 8
5: bipush 33
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 9
bipush 34
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
6: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
7: putstatic sun.tools.jconsole.inspector.Utils.tableNavigationKeys:Ljava/util/Set;
8: new java.util.HashSet
dup
bipush 8
anewarray java.lang.Class
dup
iconst_0
9: ldc Ljava/lang/Byte;
aastore
dup
iconst_1
ldc Ljava/lang/Short;
aastore
dup
iconst_2
ldc Ljava/lang/Integer;
aastore
dup
iconst_3
ldc Ljava/lang/Long;
aastore
dup
iconst_4
10: ldc Ljava/lang/Float;
aastore
dup
iconst_5
ldc Ljava/lang/Double;
aastore
dup
bipush 6
ldc Ljava/lang/Character;
aastore
dup
bipush 7
ldc Ljava/lang/Boolean;
aastore
11: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
12: putstatic sun.tools.jconsole.inspector.Utils.primitiveWrappers:Ljava/util/Set;
13: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic sun.tools.jconsole.inspector.Utils.primitives:Ljava/util/Set;
14: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
15: putstatic sun.tools.jconsole.inspector.Utils.primitiveMap:Ljava/util/Map;
16: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
17: putstatic sun.tools.jconsole.inspector.Utils.primitiveToWrapper:Ljava/util/Map;
18: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic sun.tools.jconsole.inspector.Utils.editableTypes:Ljava/util/Set;
19: new java.util.HashSet
dup
iconst_5
anewarray java.lang.Class
dup
iconst_0
20: ldc Ljava/math/BigDecimal;
aastore
dup
iconst_1
ldc Ljava/math/BigInteger;
aastore
dup
iconst_2
ldc Ljava/lang/Number;
aastore
dup
iconst_3
21: ldc Ljava/lang/String;
aastore
dup
iconst_4
ldc Ljavax/management/ObjectName;
aastore
22: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
23: putstatic sun.tools.jconsole.inspector.Utils.extraEditableClasses:Ljava/util/Set;
24: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic sun.tools.jconsole.inspector.Utils.numericalTypes:Ljava/util/Set;
25: new java.util.HashSet
dup
iconst_3
anewarray java.lang.String
dup
iconst_0
26: ldc Ljava/math/BigDecimal;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/math/BigInteger;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
27: ldc Ljava/lang/Number;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
28: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
29: putstatic sun.tools.jconsole.inspector.Utils.extraNumericalTypes:Ljava/util/Set;
30: new java.util.HashSet
dup
iconst_2
anewarray java.lang.String
dup
iconst_0
31: getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/lang/Boolean;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
32: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
33: putstatic sun.tools.jconsole.inspector.Utils.booleanTypes:Ljava/util/Set;
34: getstatic sun.tools.jconsole.inspector.Utils.primitiveWrappers:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 44
StackMap locals: top java.util.Iterator
StackMap stack:
35: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 0
start local 0 36: aload 0
ldc "TYPE"
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 2
start local 2 37: aload 2
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 38: getstatic sun.tools.jconsole.inspector.Utils.primitives:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
39: getstatic sun.tools.jconsole.inspector.Utils.primitiveMap:Ljava/util/Map;
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
40: getstatic sun.tools.jconsole.inspector.Utils.primitiveToWrapper:Ljava/util/Map;
aload 3
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 41: goto 44
StackMap locals: java.lang.Class java.util.Iterator
StackMap stack: java.lang.Exception
42: astore 2
start local 2 43: new java.lang.AssertionError
dup
aload 2
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 end local 0 44: StackMap locals: top java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
45: getstatic sun.tools.jconsole.inspector.Utils.primitives:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 48
StackMap locals:
StackMap stack:
46: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 0
start local 0 47: getstatic sun.tools.jconsole.inspector.Utils.editableTypes:Ljava/util/Set;
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 0 48: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 46
49: getstatic sun.tools.jconsole.inspector.Utils.primitiveWrappers:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 52
StackMap locals:
StackMap stack:
50: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 0
start local 0 51: getstatic sun.tools.jconsole.inspector.Utils.editableTypes:Ljava/util/Set;
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 0 52: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 50
53: getstatic sun.tools.jconsole.inspector.Utils.extraEditableClasses:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 56
StackMap locals:
StackMap stack:
54: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 0
start local 0 55: getstatic sun.tools.jconsole.inspector.Utils.editableTypes:Ljava/util/Set;
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 0 56: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 54
57: getstatic sun.tools.jconsole.inspector.Utils.primitives:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 62
StackMap locals:
StackMap stack:
58: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 0
start local 0 59: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 60: aload 2
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 62
61: getstatic sun.tools.jconsole.inspector.Utils.numericalTypes:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 end local 0 62: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 58
63: getstatic sun.tools.jconsole.inspector.Utils.primitiveWrappers:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 1
goto 68
StackMap locals:
StackMap stack:
64: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 0
start local 0 65: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 66: aload 2
ldc Ljava/lang/Boolean;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 68
67: getstatic sun.tools.jconsole.inspector.Utils.numericalTypes:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 end local 0 68: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 64
69: return
LocalVariableTable:
Start End Slot Name Signature
36 44 0 c Ljava/lang/Class<*>;
37 41 2 f Ljava/lang/reflect/Field;
38 41 3 p Ljava/lang/Class<*>;
43 44 2 e Ljava/lang/Exception;
47 48 0 c Ljava/lang/Class<*>;
51 52 0 c Ljava/lang/Class<*>;
55 56 0 c Ljava/lang/Class<*>;
59 62 0 c Ljava/lang/Class<*>;
60 62 2 name Ljava/lang/String;
65 68 0 c Ljava/lang/Class<*>;
66 68 2 name Ljava/lang/String;
Exception table:
from to target type
36 41 42 Class java.lang.Exception
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/Utils;
public static java.lang.Class<?> getClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.tools.jconsole.inspector.Utils.primitiveMap:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
dup
astore 1
start local 1 1: ifnull 3
2: aload 1
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 className Ljava/lang/String;
1 4 1 c Ljava/lang/Class<*>;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
className
public static boolean isUniformCollection(java.util.Collection<?>, java.lang.Class<?>);
descriptor: (Ljava/util/Collection;Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Null reference type"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "Null collection"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: java.util.Collection java.lang.Class top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 8: aload 2
ifnull 9
aload 1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 10
9: StackMap locals: java.util.Collection java.lang.Class java.lang.Object java.util.Iterator
StackMap stack:
iconst_0
ireturn
end local 2 10: StackMap locals: java.util.Collection java.lang.Class top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 c Ljava/util/Collection<*>;
0 12 1 e Ljava/lang/Class<*>;
8 10 2 o Ljava/lang/Object;
Signature: (Ljava/util/Collection<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
e
public static boolean canBeRenderedAsArray(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic sun.tools.jconsole.inspector.Utils.isSupportedArray:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Collection
ifeq 10
3: aload 0
checkcast java.util.Collection
astore 1
start local 1 4: aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals: java.util.Collection
StackMap stack:
aload 1
ldc Ljavax/management/openmbean/CompositeData;
invokestatic sun.tools.jconsole.inspector.Utils.isUniformCollection:(Ljava/util/Collection;Ljava/lang/Class;)Z
ifne 9
7: aload 1
ldc Ljavax/management/openmbean/TabularData;
invokestatic sun.tools.jconsole.inspector.Utils.isUniformCollection:(Ljava/util/Collection;Ljava/lang/Class;)Z
ifne 9
8: iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
end local 1 10: StackMap locals:
StackMap stack:
aload 0
instanceof java.util.Map
ifeq 14
11: aload 0
instanceof javax.management.openmbean.TabularData
ifeq 12
iconst_0
goto 13
StackMap locals:
StackMap stack:
12: iconst_1
StackMap locals:
StackMap stack: int
13: ireturn
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 elem Ljava/lang/Object;
4 10 1 c Ljava/util/Collection<*>;
MethodParameters:
Name Flags
elem
public static boolean isSupportedArray(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 1
start local 1 3: aload 1
invokevirtual java.lang.Class.isArray:()Z
ifeq 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.Class
StackMap stack:
aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
ifle 9
6: ldc Ljavax/management/openmbean/CompositeData;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 8
7: ldc Ljavax/management/openmbean/TabularData;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 9
8: StackMap locals:
StackMap stack:
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 elem Ljava/lang/Object;
3 10 1 ct Ljava/lang/Class<*>;
MethodParameters:
Name Flags
elem
public static java.lang.String getArrayClassName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
2: aload 0
ldc "["
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 2
start local 2 3: aload 0
iload 2
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
4: aload 1
ldc "[L"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
5: aload 1
iconst_2
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
6: goto 14
7: StackMap locals: java.lang.String int
StackMap stack:
aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 8: aload 3
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 1
end local 3 9: goto 14
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
10: astore 3
start local 3 11: new java.lang.IllegalArgumentException
dup
12: new java.lang.StringBuilder
dup
ldc "Bad class name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 name Ljava/lang/String;
1 15 1 className Ljava/lang/String;
3 14 2 index I
8 9 3 c Ljava/lang/Class<*>;
11 14 3 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
7 9 10 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
name
public static java.lang.String getReadableClassName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokestatic sun.tools.jconsole.inspector.Utils.getArrayClassName:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "["
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 2
start local 2 4: new java.lang.StringBuilder
dup
aload 1
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 9
7: StackMap locals: int java.lang.StringBuilder int
StackMap stack:
aload 3
ldc "[]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 2
if_icmple 7
end local 4 10: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 name Ljava/lang/String;
1 11 1 className Ljava/lang/String;
4 11 2 index I
5 11 3 brackets Ljava/lang/StringBuilder;
6 10 4 i I
MethodParameters:
Name Flags
name
public static boolean isEditableType(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.tools.jconsole.inspector.Utils.editableTypes:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/String;
MethodParameters:
Name Flags
type
public static java.lang.String getDefaultValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.tools.jconsole.inspector.Utils.numericalTypes:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 2
1: getstatic sun.tools.jconsole.inspector.Utils.extraNumericalTypes:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 3
2: StackMap locals:
StackMap stack:
ldc "0"
areturn
3: StackMap locals:
StackMap stack:
getstatic sun.tools.jconsole.inspector.Utils.booleanTypes:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 5
4: ldc "true"
areturn
5: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.tools.jconsole.inspector.Utils.getReadableClassName:(Ljava/lang/String;)Ljava/lang/String;
astore 0
6: aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 7: iload 1
ifle 9
8: aload 0
iload 1
iconst_1
iadd
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
9: StackMap locals: int
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 type Ljava/lang/String;
7 10 1 i I
MethodParameters:
Name Flags
type
public static java.lang.Object newStringConstructor(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic sun.tools.jconsole.inspector.Utils.getClass:(Ljava/lang/String;)Ljava/lang/Class;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 1: aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
2: areturn
3: StackMap locals: java.lang.String java.lang.String java.lang.reflect.Constructor
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 4: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
astore 4
start local 4 5: aload 4
instanceof java.lang.Exception
ifeq 7
6: aload 4
checkcast java.lang.Exception
athrow
7: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
aload 3
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 type Ljava/lang/String;
0 8 1 param Ljava/lang/String;
1 8 2 c Ljava/lang/reflect/Constructor<*>;
4 8 3 e Ljava/lang/reflect/InvocationTargetException;
5 8 4 t Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.reflect.InvocationTargetException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
type
param
private static java.lang.Number createNumberFromStringValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Number;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
start local 1 1: ldc "L"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Long.valueOf:(Ljava/lang/String;)Ljava/lang/Long;
areturn
3: StackMap locals: java.lang.String
StackMap stack:
ldc "F"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 5
4: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Float.valueOf:(Ljava/lang/String;)Ljava/lang/Float;
areturn
5: StackMap locals:
StackMap stack:
ldc "D"
aload 1
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 7
6: aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Double.valueOf:(Ljava/lang/String;)Ljava/lang/Double;
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
8: areturn
9: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
10: aload 0
invokestatic java.lang.Long.valueOf:(Ljava/lang/String;)Ljava/lang/Long;
11: areturn
12: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
13: aload 0
invokestatic java.lang.Double.valueOf:(Ljava/lang/String;)Ljava/lang/Double;
14: areturn
15: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
16: new java.lang.NumberFormatException
dup
new java.lang.StringBuilder
dup
ldc "Cannot convert string value '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' into a numerical value"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 value Ljava/lang/String;
1 19 1 suffix Ljava/lang/String;
Exception table:
from to target type
7 8 9 Class java.lang.NumberFormatException
10 11 12 Class java.lang.NumberFormatException
13 14 15 Class java.lang.NumberFormatException
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
value
public static java.lang.Object createObjectFromString(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.tools.jconsole.inspector.Utils.primitiveToWrapper:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 8
1: aload 0
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: new java.lang.Character
dup
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokespecial java.lang.Character.<init>:(C)V
astore 2
start local 2 3: goto 18
end local 2 4: StackMap locals:
StackMap stack:
getstatic sun.tools.jconsole.inspector.Utils.primitiveToWrapper:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
5: aload 1
6: invokestatic sun.tools.jconsole.inspector.Utils.newStringConstructor:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 7: goto 18
end local 2 StackMap locals:
StackMap stack:
8: aload 0
ldc Ljava/lang/Character;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: new java.lang.Character
dup
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokespecial java.lang.Character.<init>:(C)V
astore 2
start local 2 10: goto 18
end local 2 StackMap locals:
StackMap stack:
11: ldc Ljava/lang/Number;
aload 0
invokestatic sun.tools.jconsole.inspector.Utils.getClass:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 14
12: aload 1
invokestatic sun.tools.jconsole.inspector.Utils.createNumberFromStringValue:(Ljava/lang/String;)Ljava/lang/Number;
astore 2
start local 2 13: goto 18
end local 2 StackMap locals:
StackMap stack:
14: aload 1
ifnull 15
aload 1
invokevirtual java.lang.String.toString:()Ljava/lang/String;
ldc "null"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 16: goto 18
end local 2 17: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.tools.jconsole.inspector.Utils.newStringConstructor:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 18: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 type Ljava/lang/String;
0 19 1 value Ljava/lang/String;
3 4 2 result Ljava/lang/Object;
7 8 2 result Ljava/lang/Object;
10 11 2 result Ljava/lang/Object;
13 14 2 result Ljava/lang/Object;
16 17 2 result Ljava/lang/Object;
18 19 2 result Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
type
value
public static java.lang.Object[] getParameters(sun.tools.jconsole.inspector.XTextField[], java.lang.String[]);
descriptor: ([Lsun/tools/jconsole/inspector/XTextField;[Ljava/lang/String;)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
arraylength
anewarray java.lang.Object
astore 2
start local 2 1: iconst_0
istore 4
start local 4 2: goto 11
3: StackMap locals: sun.tools.jconsole.inspector.XTextField[] java.lang.String[] java.lang.Object[] top int
StackMap stack:
aload 0
iload 4
aaload
invokevirtual sun.tools.jconsole.inspector.XTextField.getValue:()Ljava/lang/Object;
astore 3
start local 3 4: aload 3
instanceof sun.tools.jconsole.inspector.XObject
ifeq 7
5: aload 2
iload 4
aload 3
checkcast sun.tools.jconsole.inspector.XObject
invokevirtual sun.tools.jconsole.inspector.XObject.getObject:()Ljava/lang/Object;
aastore
6: goto 10
7: StackMap locals: sun.tools.jconsole.inspector.XTextField[] java.lang.String[] java.lang.Object[] java.lang.Object int
StackMap stack:
aload 2
iload 4
aload 1
iload 4
aaload
invokevirtual java.lang.String.toString:()Ljava/lang/String;
8: aload 3
checkcast java.lang.String
9: invokestatic sun.tools.jconsole.inspector.Utils.createObjectFromString:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
aastore
10: StackMap locals:
StackMap stack:
iinc 4 1
end local 3 StackMap locals: sun.tools.jconsole.inspector.XTextField[] java.lang.String[] java.lang.Object[] top int
StackMap stack:
11: iload 4
aload 0
arraylength
if_icmplt 3
end local 4 12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 inputs [Lsun/tools/jconsole/inspector/XTextField;
0 13 1 params [Ljava/lang/String;
1 13 2 result [Ljava/lang/Object;
4 11 3 userInput Ljava/lang/Object;
2 12 4 i I
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
inputs
params
public static java.lang.Throwable getActualException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/Throwable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.util.concurrent.ExecutionException
ifeq 2
1: aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 0
2: StackMap locals:
StackMap stack:
aload 0
instanceof javax.management.MBeanException
ifne 6
3: aload 0
instanceof javax.management.RuntimeMBeanException
ifne 6
4: aload 0
instanceof javax.management.RuntimeOperationsException
ifne 6
5: aload 0
instanceof javax.management.ReflectionException
ifeq 9
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 1
start local 1 7: aload 1
ifnull 9
8: aload 1
areturn
end local 1 9: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 e Ljava/lang/Throwable;
7 9 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
e
}
SourceFile: "Utils.java"
NestMembers:
sun.tools.jconsole.inspector.Utils$CopyKeyAdapter sun.tools.jconsole.inspector.Utils$EditFocusAdapter sun.tools.jconsole.inspector.Utils$ReadOnlyTableCellEditor
InnerClasses:
public CopyKeyAdapter = sun.tools.jconsole.inspector.Utils$CopyKeyAdapter of sun.tools.jconsole.inspector.Utils
public EditFocusAdapter = sun.tools.jconsole.inspector.Utils$EditFocusAdapter of sun.tools.jconsole.inspector.Utils
public ReadOnlyTableCellEditor = sun.tools.jconsole.inspector.Utils$ReadOnlyTableCellEditor of sun.tools.jconsole.inspector.Utils