class sun.tools.jconsole.inspector.XArrayDataViewer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jconsole.inspector.XArrayDataViewer
super_class: java.lang.Object
{
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/XArrayDataViewer;
public static boolean isViewableValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.tools.jconsole.inspector.Utils.canBeRenderedAsArray:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public static java.awt.Component loadArray(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/awt/Component;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=15, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokestatic sun.tools.jconsole.inspector.XArrayDataViewer.isViewableValue:(Ljava/lang/Object;)Z
ifeq 73
2: aload 0
instanceof java.util.Collection
ifeq 5
3: aload 0
checkcast java.util.Collection
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 2
start local 2 4: goto 18
end local 2 StackMap locals: java.awt.Component
StackMap stack:
5: aload 0
instanceof java.util.Map
ifeq 8
6: aload 0
checkcast java.util.Map
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
astore 2
start local 2 7: goto 18
end local 2 StackMap locals:
StackMap stack:
8: aload 0
instanceof java.lang.Object[]
ifeq 11
9: aload 0
checkcast java.lang.Object[]
astore 2
start local 2 10: goto 18
end local 2 11: StackMap locals:
StackMap stack:
aload 0
invokestatic java.lang.reflect.Array.getLength:(Ljava/lang/Object;)I
istore 3
start local 3 12: iload 3
anewarray java.lang.Object
astore 2
start local 2 13: iconst_0
istore 4
start local 4 14: goto 17
15: StackMap locals: java.lang.Object[] int int
StackMap stack:
aload 2
iload 4
aload 0
iload 4
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
aastore
16: iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
iload 3
if_icmplt 15
end local 4 end local 3 18: StackMap locals:
StackMap stack:
new javax.swing.JEditorPane
dup
invokespecial javax.swing.JEditorPane.<init>:()V
astore 3
start local 3 19: aload 3
ldc "text/html"
invokevirtual javax.swing.JEditorPane.setContentType:(Ljava/lang/String;)V
20: aload 3
iconst_0
invokevirtual javax.swing.JEditorPane.setEditable:(Z)V
21: aload 3
invokevirtual javax.swing.JEditorPane.getBackground:()Ljava/awt/Color;
astore 4
start local 4 22: aload 4
invokevirtual java.awt.Color.getRed:()I
istore 5
start local 5 23: aload 4
invokevirtual java.awt.Color.getGreen:()I
istore 6
start local 6 24: aload 4
invokevirtual java.awt.Color.getBlue:()I
istore 7
start local 7 25: new java.lang.StringBuilder
dup
ldc "rgb("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: astore 8
start local 8 27: new java.awt.Color
dup
28: iload 5
bipush 20
if_icmpge 29
iload 5
bipush 20
iadd
goto 30
StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String
StackMap stack: new 27 new 27
29: iload 5
bipush 20
isub
30: StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String
StackMap stack: new 27 new 27 int
iload 6
bipush 20
if_icmpge 31
iload 6
bipush 20
iadd
goto 32
StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String
StackMap stack: new 27 new 27 int
31: iload 6
bipush 20
isub
32: StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String
StackMap stack: new 27 new 27 int int
iload 7
bipush 20
if_icmpge 33
iload 7
bipush 20
iadd
goto 34
StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String
StackMap stack: new 27 new 27 int int
33: iload 7
bipush 20
isub
34: StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String
StackMap stack: new 27 new 27 int int int
invokespecial java.awt.Color.<init>:(III)V
astore 9
start local 9 35: new java.lang.StringBuilder
dup
ldc "rgb("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.awt.Color.getRed:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: aload 9
invokevirtual java.awt.Color.getGreen:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: aload 9
invokevirtual java.awt.Color.getBlue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
38: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
39: astore 10
start local 10 40: aload 3
invokevirtual javax.swing.JEditorPane.getForeground:()Ljava/awt/Color;
astore 11
start local 11 41: ldc "%06x"
iconst_1
anewarray java.lang.Object
dup
iconst_0
42: aload 11
invokevirtual java.awt.Color.getRGB:()I
ldc 16777215
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
43: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 12
start local 12 44: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 13
start local 13 45: aload 13
ldc "<html><body text=#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "><table width=\"100%\">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
46: iconst_0
istore 14
start local 14 47: goto 65
48: StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String java.awt.Color java.lang.String java.awt.Color java.lang.String java.lang.StringBuilder int
StackMap stack:
iload 14
iconst_2
irem
ifne 57
49: aload 13
ldc "<tr style=\"background-color: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
50: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\"><td><pre>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
51: aload 2
iload 14
aaload
ifnonnull 53
52: aload 2
iload 14
aaload
goto 54
StackMap locals:
StackMap stack: java.lang.StringBuilder
53: aload 2
iload 14
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic sun.tools.jconsole.inspector.XArrayDataViewer.htmlize:(Ljava/lang/String;)Ljava/lang/String;
54: StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String java.awt.Color java.lang.String java.awt.Color java.lang.String java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder java.lang.Object
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
55: ldc "</pre></td></tr>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
56: goto 64
57: StackMap locals:
StackMap stack:
aload 13
ldc "<tr style=\"background-color: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
58: aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\"><td><pre>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
59: aload 2
iload 14
aaload
ifnonnull 61
60: aload 2
iload 14
aaload
goto 62
StackMap locals:
StackMap stack: java.lang.StringBuilder
61: aload 2
iload 14
aaload
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic sun.tools.jconsole.inspector.XArrayDataViewer.htmlize:(Ljava/lang/String;)Ljava/lang/String;
62: StackMap locals: java.lang.Object java.awt.Component java.lang.Object[] javax.swing.JEditorPane java.awt.Color int int int java.lang.String java.awt.Color java.lang.String java.awt.Color java.lang.String java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder java.lang.Object
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
63: ldc "</pre></td></tr>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
64: StackMap locals:
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
65: iload 14
aload 2
arraylength
if_icmplt 48
end local 14 66: aload 2
arraylength
ifne 69
67: aload 13
ldc "<tr style=\"background-color: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
68: aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\"><td></td></tr>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
69: StackMap locals:
StackMap stack:
aload 13
ldc "</table></body></html>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
70: aload 3
aload 13
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.swing.JEditorPane.setText:(Ljava/lang/String;)V
71: new javax.swing.JScrollPane
dup
aload 3
invokespecial javax.swing.JScrollPane.<init>:(Ljava/awt/Component;)V
astore 14
start local 14 72: aload 14
astore 1
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 73: StackMap locals: java.lang.Object java.awt.Component
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 74 0 value Ljava/lang/Object;
1 74 1 comp Ljava/awt/Component;
4 5 2 arr [Ljava/lang/Object;
7 8 2 arr [Ljava/lang/Object;
10 11 2 arr [Ljava/lang/Object;
13 73 2 arr [Ljava/lang/Object;
12 18 3 length I
14 18 4 i I
19 73 3 arrayEditor Ljavax/swing/JEditorPane;
22 73 4 evenRowColor Ljava/awt/Color;
23 73 5 red I
24 73 6 green I
25 73 7 blue I
27 73 8 evenRowColorStr Ljava/lang/String;
35 73 9 oddRowColor Ljava/awt/Color;
40 73 10 oddRowColorStr Ljava/lang/String;
41 73 11 foreground Ljava/awt/Color;
44 73 12 textColor Ljava/lang/String;
45 73 13 sb Ljava/lang/StringBuilder;
47 66 14 i I
72 73 14 scrollp Ljavax/swing/JScrollPane;
MethodParameters:
Name Flags
value
private static java.lang.String htmlize(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 "&"
ldc "&"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
ldc "<"
ldc "<"
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 value Ljava/lang/String;
MethodParameters:
Name Flags
value
}
SourceFile: "XArrayDataViewer.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map