public class sun.tools.jconsole.inspector.TableSorter extends javax.swing.table.DefaultTableModel implements java.awt.event.MouseListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jconsole.inspector.TableSorter
super_class: javax.swing.table.DefaultTableModel
{
private boolean ascending;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.swing.table.TableColumnModel columnModel;
descriptor: Ljavax/swing/table/TableColumnModel;
flags: (0x0002) ACC_PRIVATE
private javax.swing.JTable tableView;
descriptor: Ljavax/swing/JTable;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector<javax.swing.event.TableModelListener> evtListenerList;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljavax/swing/event/TableModelListener;>;
private int sortColumn;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] invertedIndex;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.swing.table.DefaultTableModel.<init>:()V
1: aload 0
iconst_1
putfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
2: aload 0
iconst_0
putfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
3: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jconsole.inspector.TableSorter.evtListenerList:Ljava/util/Vector;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
public void <init>(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)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
aload 1
iload 2
invokespecial javax.swing.table.DefaultTableModel.<init>:([Ljava/lang/Object;I)V
1: aload 0
iconst_1
putfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
2: aload 0
iconst_0
putfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
3: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jconsole.inspector.TableSorter.evtListenerList:Ljava/util/Vector;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 columnNames [Ljava/lang/Object;
0 5 2 numRows I
MethodParameters:
Name Flags
columnNames
numRows
public void newDataAvailable(javax.swing.event.TableModelEvent);
descriptor: (Ljavax/swing/event/TableModelEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.newDataAvailable:(Ljavax/swing/event/TableModelEvent;)V
1: aload 0
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
newarray 10
putfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 2
iload 2
iastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
arraylength
if_icmplt 4
end local 2 7: aload 0
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
invokevirtual sun.tools.jconsole.inspector.TableSorter.sort:(IZ)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 9 1 e Ljavax/swing/event/TableModelEvent;
3 7 2 i I
MethodParameters:
Name Flags
e
public void addTableModelListener(javax.swing.event.TableModelListener);
descriptor: (Ljavax/swing/event/TableModelListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.evtListenerList:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
1: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.addTableModelListener:(Ljavax/swing/event/TableModelListener;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 3 1 l Ljavax/swing/event/TableModelListener;
MethodParameters:
Name Flags
l
public void removeTableModelListener(javax.swing.event.TableModelListener);
descriptor: (Ljavax/swing/event/TableModelListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.evtListenerList:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.remove:(Ljava/lang/Object;)Z
pop
1: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.removeTableModelListener:(Ljavax/swing/event/TableModelListener;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 3 1 l Ljavax/swing/event/TableModelListener;
MethodParameters:
Name Flags
l
private void removeListeners();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.evtListenerList:Ljava/util/Vector;
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: sun.tools.jconsole.inspector.TableSorter top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.event.TableModelListener
astore 1
start local 1 2: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.removeTableModelListener:(Ljavax/swing/event/TableModelListener;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
2 3 1 tnl Ljavax/swing/event/TableModelListener;
private void restoreListeners();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.evtListenerList:Ljava/util/Vector;
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: sun.tools.jconsole.inspector.TableSorter top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.event.TableModelListener
astore 1
start local 1 2: aload 0
aload 1
invokespecial javax.swing.table.DefaultTableModel.addTableModelListener:(Ljavax/swing/event/TableModelListener;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
2 3 1 tnl Ljavax/swing/event/TableModelListener;
private int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 1
instanceof java.lang.Comparable
ifeq 9
8: aload 1
checkcast java.lang.Comparable
aload 2
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ireturn
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 10 1 o1 Ljava/lang/Object;
0 10 2 o2 Ljava/lang/Object;
MethodParameters:
Name Flags
o1
o2
private void sort(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
instanceof sun.tools.jconsole.inspector.XMBeanAttributes
ifeq 2
1: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
checkcast sun.tools.jconsole.inspector.XMBeanAttributes
goto 3
2: StackMap locals:
StackMap stack:
aconst_null
3: StackMap locals:
StackMap stack: sun.tools.jconsole.inspector.XMBeanAttributes
astore 3
start local 3 4: aload 3
ifnull 6
aload 3
invokevirtual sun.tools.jconsole.inspector.XMBeanAttributes.isEditing:()Z
ifeq 6
5: aload 3
invokevirtual sun.tools.jconsole.inspector.XMBeanAttributes.cancelCellEditing:()V
6: StackMap locals: sun.tools.jconsole.inspector.XMBeanAttributes
StackMap stack:
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.removeListeners:()V
7: invokestatic sun.tools.jconsole.JConsole.isDebug:()Z
ifeq 11
8: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "sorting table against column="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
9: ldc " ascending="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
iconst_1
isub
iload 1
iload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.quickSort:(IIIZ)V
12: aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.restoreListeners:()V
13: aload 3
ifnull 20
14: iconst_0
istore 4
start local 4 15: goto 19
16: StackMap locals: int
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.dataVector:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.Vector
astore 5
start local 5 17: aload 3
aload 5
iconst_1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
iload 4
invokevirtual sun.tools.jconsole.inspector.XMBeanAttributes.updateRowHeight:(Ljava/lang/Object;I)V
end local 5 18: iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
aload 0
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRowCount:()I
if_icmplt 16
end local 4 20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 21 1 column I
0 21 2 isAscending Z
4 21 3 attrs Lsun/tools/jconsole/inspector/XMBeanAttributes;
15 20 4 i I
17 18 5 data Ljava/util/Vector<*>;
MethodParameters:
Name Flags
column
isAscending
private boolean compareS(java.lang.Object, java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 3
1: aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifle 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 s1 Ljava/lang/Object;
0 5 2 s2 Ljava/lang/Object;
0 5 3 isAscending Z
MethodParameters:
Name Flags
s1
s2
isAscending
private boolean compareG(java.lang.Object, java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
ifeq 3
1: aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifle 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 s1 Ljava/lang/Object;
0 5 2 s2 Ljava/lang/Object;
0 5 3 isAscending Z
MethodParameters:
Name Flags
s1
s2
isAscending
private void quickSort(int, int, int, boolean);
descriptor: (IIIZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 1
istore 5
start local 5 1: iload 2
istore 6
start local 6 2: iload 2
iload 1
if_icmple 21
3: aload 0
iload 1
iload 2
iadd
iconst_2
idiv
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
astore 7
start local 7 4: goto 16
5: StackMap locals: int int java.lang.Object
StackMap stack:
iinc 5 1
6: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmpge 10
7: aload 0
aload 7
aload 0
iload 5
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
iload 4
invokevirtual sun.tools.jconsole.inspector.TableSorter.compareS:(Ljava/lang/Object;Ljava/lang/Object;Z)Z
ifne 5
8: goto 10
9: StackMap locals:
StackMap stack:
iinc 6 -1
10: StackMap locals:
StackMap stack:
iload 6
iload 1
if_icmple 12
11: aload 0
aload 7
aload 0
iload 6
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.getValueAt:(II)Ljava/lang/Object;
iload 4
invokevirtual sun.tools.jconsole.inspector.TableSorter.compareG:(Ljava/lang/Object;Ljava/lang/Object;Z)Z
ifne 9
12: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmpgt 16
13: aload 0
iload 5
iload 6
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.swap:(III)V
14: iinc 5 1
15: iinc 6 -1
16: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmple 6
17: iload 1
iload 6
if_icmpge 19
18: aload 0
iload 1
iload 6
iload 3
iload 4
invokevirtual sun.tools.jconsole.inspector.TableSorter.quickSort:(IIIZ)V
19: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmpgt 21
20: aload 0
iload 5
iload 2
iload 3
iload 4
invokevirtual sun.tools.jconsole.inspector.TableSorter.quickSort:(IIIZ)V
end local 7 21: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 22 1 lo0 I
0 22 2 hi0 I
0 22 3 key I
0 22 4 isAscending Z
1 22 5 lo I
2 22 6 hi I
4 21 7 mid Ljava/lang/Object;
MethodParameters:
Name Flags
lo0
hi0
key
isAscending
private java.util.Vector<?> getRow(int);
descriptor: (I)Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.dataVector:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.util.Vector
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 row I
Signature: (I)Ljava/util/Vector<*>;
MethodParameters:
Name Flags
row
private void setRow(java.util.Vector<?>, );
descriptor: (Ljava/util/Vector;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.dataVector:Ljava/util/Vector;
aload 1
iload 2
invokevirtual java.util.Vector.setElementAt:(Ljava/lang/Object;I)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 2 1 data Ljava/util/Vector<*>;
0 2 2 row I
Signature: (Ljava/util/Vector<*>;I)V
MethodParameters:
Name Flags
data
row
private void swap(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRow:(I)Ljava/util/Vector;
astore 4
start local 4 1: aload 0
aload 0
iload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.getRow:(I)Ljava/util/Vector;
iload 1
invokevirtual sun.tools.jconsole.inspector.TableSorter.setRow:(Ljava/util/Vector;I)V
2: aload 0
aload 4
iload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.setRow:(Ljava/util/Vector;I)V
3: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 1
iaload
istore 5
start local 5 4: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 1
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 2
iaload
iastore
5: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 2
iload 5
iastore
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 7 1 i I
0 7 2 j I
0 7 3 column I
1 7 4 data Ljava/util/Vector<*>;
4 7 5 a I
MethodParameters:
Name Flags
i
j
column
public void sortByColumn(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
ifeq 1
iconst_0
goto 2
StackMap locals: sun.tools.jconsole.inspector.TableSorter int
StackMap stack: sun.tools.jconsole.inspector.TableSorter int
1: iconst_1
StackMap locals: sun.tools.jconsole.inspector.TableSorter int
StackMap stack: sun.tools.jconsole.inspector.TableSorter int int
2: invokevirtual sun.tools.jconsole.inspector.TableSorter.sortByColumn:(IZ)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 4 1 column I
MethodParameters:
Name Flags
column
public void sortByColumn(int, boolean);
descriptor: (IZ)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
iload 2
putfield sun.tools.jconsole.inspector.TableSorter.ascending:Z
1: aload 0
iload 1
putfield sun.tools.jconsole.inspector.TableSorter.sortColumn:I
2: aload 0
iload 1
iload 2
invokevirtual sun.tools.jconsole.inspector.TableSorter.sort:(IZ)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 4 1 column I
0 4 2 ascending Z
MethodParameters:
Name Flags
column
ascending
public int getIndexOfRow(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.invertedIndex:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 row I
MethodParameters:
Name Flags
row
public void (javax.swing.JTable);
descriptor: (Ljavax/swing/JTable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
1: aload 0
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getColumnModel:()Ljavax/swing/table/TableColumnModel;
putfield sun.tools.jconsole.inspector.TableSorter.columnModel:Ljavax/swing/table/TableColumnModel;
2: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getTableHeader:()Ljavax/swing/table/JTableHeader;
astore 2
start local 2 3: aload 2
aload 0
invokevirtual javax.swing.table.JTableHeader.addMouseListener:(Ljava/awt/event/MouseListener;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 5 1 table Ljavax/swing/JTable;
3 5 2 th Ljavax/swing/table/JTableHeader;
MethodParameters:
Name Flags
table
public void mouseClicked(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.columnModel:Ljavax/swing/table/TableColumnModel;
aload 1
invokevirtual java.awt.event.MouseEvent.getX:()I
invokeinterface javax.swing.table.TableColumnModel.getColumnIndexAtX:(I)I
istore 2
start local 2 1: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
iload 2
invokevirtual javax.swing.JTable.convertColumnIndexToModel:(I)I
istore 3
start local 3 2: aload 1
invokevirtual java.awt.event.MouseEvent.getClickCount:()I
iconst_1
if_icmpne 10
iload 3
iconst_m1
if_icmpeq 10
3: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
instanceof sun.tools.jconsole.inspector.XTable
ifeq 6
4: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
checkcast sun.tools.jconsole.inspector.XTable
astore 4
start local 4 5: aload 4
iload 3
invokevirtual sun.tools.jconsole.inspector.XTable.sortRequested:(I)V
end local 4 6: StackMap locals: int int
StackMap stack:
aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.invalidate:()V
7: aload 0
iload 3
invokevirtual sun.tools.jconsole.inspector.TableSorter.sortByColumn:(I)V
8: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.validate:()V
9: aload 0
getfield sun.tools.jconsole.inspector.TableSorter.tableView:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.repaint:()V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 11 1 e Ljava/awt/event/MouseEvent;
1 11 2 viewColumn I
2 11 3 column I
5 6 4 attrs Lsun/tools/jconsole/inspector/XTable;
MethodParameters:
Name Flags
e
public void mousePressed(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseEntered(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseExited(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
public void mouseReleased(java.awt.event.MouseEvent);
descriptor: (Ljava/awt/event/MouseEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/inspector/TableSorter;
0 1 1 e Ljava/awt/event/MouseEvent;
MethodParameters:
Name Flags
e
}
SourceFile: "TableSorter.java"