class sun.swing.FilePane$1 extends java.awt.event.KeyAdapter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.swing.FilePane$1
super_class: java.awt.event.KeyAdapter
{
private final long timeFactor;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.StringBuilder typedString;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long lastTime;
descriptor: J
flags: (0x0002) ACC_PRIVATE
final sun.swing.FilePane this$0;
descriptor: Lsun/swing/FilePane;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.swing.FilePane);
descriptor: (Lsun/swing/FilePane;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 0: aload 0
aload 1
putfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
aload 0
invokespecial java.awt.event.KeyAdapter.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield sun.swing.FilePane$1.typedString:Ljava/lang/StringBuilder;
2: aload 0
ldc 1000
putfield sun.swing.FilePane$1.lastTime:J
3: ldc "Table.timeFactor"
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 2
start local 2 4: aload 0
aload 2
ifnull 5
aload 2
invokevirtual java.lang.Long.longValue:()J
goto 6
StackMap locals: sun.swing.FilePane$1 sun.swing.FilePane java.lang.Long
StackMap stack: sun.swing.FilePane$1
5: ldc 1000
StackMap locals: sun.swing.FilePane$1 sun.swing.FilePane java.lang.Long
StackMap stack: sun.swing.FilePane$1 long
6: putfield sun.swing.FilePane$1.timeFactor:J
end local 2 7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/swing/FilePane$1;
4 7 2 l Ljava/lang/Long;
MethodParameters:
Name Flags
this$0 final
public void keyTyped(java.awt.event.KeyEvent);
descriptor: (Ljava/awt/event/KeyEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getModel:()Ljavax/swing/plaf/basic/BasicDirectoryModel;
astore 2
start local 2 1: aload 2
invokevirtual javax.swing.plaf.basic.BasicDirectoryModel.getSize:()I
istore 3
start local 3 2: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTable:Ljavax/swing/JTable;
ifnull 4
iload 3
ifeq 4
3: aload 1
invokevirtual java.awt.event.KeyEvent.isAltDown:()Z
ifne 4
aload 1
invokevirtual java.awt.event.KeyEvent.isControlDown:()Z
ifne 4
aload 1
invokevirtual java.awt.event.KeyEvent.isMetaDown:()Z
ifeq 5
4: StackMap locals: javax.swing.plaf.basic.BasicDirectoryModel int
StackMap stack:
return
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTable:Ljavax/swing/JTable;
iconst_1
invokevirtual javax.swing.JTable.getInputMap:(I)Ljavax/swing/InputMap;
astore 4
start local 4 6: aload 1
invokestatic javax.swing.KeyStroke.getKeyStrokeForEvent:(Ljava/awt/event/KeyEvent;)Ljavax/swing/KeyStroke;
astore 5
start local 5 7: aload 4
ifnull 9
aload 4
aload 5
invokevirtual javax.swing.InputMap.get:(Ljavax/swing/KeyStroke;)Ljava/lang/Object;
ifnull 9
8: return
9: StackMap locals: javax.swing.InputMap javax.swing.KeyStroke
StackMap stack:
aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTable:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectionModel:()Ljavax/swing/ListSelectionModel;
invokeinterface javax.swing.ListSelectionModel.getLeadSelectionIndex:()I
istore 6
start local 6 10: iload 6
ifge 12
11: iconst_0
istore 6
12: StackMap locals: int
StackMap stack:
iload 6
iload 3
if_icmplt 14
13: iload 3
iconst_1
isub
istore 6
14: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.event.KeyEvent.getKeyChar:()C
istore 7
start local 7 15: aload 1
invokevirtual java.awt.event.KeyEvent.getWhen:()J
lstore 8
start local 8 16: lload 8
aload 0
getfield sun.swing.FilePane$1.lastTime:J
lsub
aload 0
getfield sun.swing.FilePane$1.timeFactor:J
lcmp
ifge 22
17: aload 0
getfield sun.swing.FilePane$1.typedString:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
iconst_1
if_icmpne 20
aload 0
getfield sun.swing.FilePane$1.typedString:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.charAt:(I)C
iload 7
if_icmpne 20
18: iinc 6 1
19: goto 25
20: StackMap locals: int long
StackMap stack:
aload 0
getfield sun.swing.FilePane$1.typedString:Ljava/lang/StringBuilder;
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
21: goto 25
22: StackMap locals:
StackMap stack:
iinc 6 1
23: aload 0
getfield sun.swing.FilePane$1.typedString:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
24: aload 0
getfield sun.swing.FilePane$1.typedString:Ljava/lang/StringBuilder;
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
25: StackMap locals:
StackMap stack:
aload 0
lload 8
putfield sun.swing.FilePane$1.lastTime:J
26: iload 6
iload 3
if_icmplt 28
27: iconst_0
istore 6
28: StackMap locals:
StackMap stack:
aload 0
iload 6
iload 3
iconst_1
isub
invokevirtual sun.swing.FilePane$1.getNextMatch:(II)I
istore 10
start local 10 29: iload 10
ifge 31
iload 6
ifle 31
30: aload 0
iconst_0
iload 6
iconst_1
isub
invokevirtual sun.swing.FilePane$1.getNextMatch:(II)I
istore 10
31: StackMap locals: int
StackMap stack:
iload 10
iflt 37
32: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTable:Ljavax/swing/JTable;
invokevirtual javax.swing.JTable.getSelectionModel:()Ljavax/swing/ListSelectionModel;
iload 10
iload 10
invokeinterface javax.swing.ListSelectionModel.setSelectionInterval:(II)V
33: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTable:Ljavax/swing/JTable;
iload 10
34: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTable:Ljavax/swing/JTable;
iconst_0
invokevirtual javax.swing.JTable.convertColumnIndexToView:(I)I
iconst_0
35: invokevirtual javax.swing.JTable.getCellRect:(IIZ)Ljava/awt/Rectangle;
astore 11
start local 11 36: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
getfield sun.swing.FilePane.detailsTable:Ljavax/swing/JTable;
aload 11
invokevirtual javax.swing.JTable.scrollRectToVisible:(Ljava/awt/Rectangle;)V
end local 11 37: StackMap locals:
StackMap stack:
return
end local 10 end local 8 end local 7 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 38 0 this Lsun/swing/FilePane$1;
0 38 1 e Ljava/awt/event/KeyEvent;
1 38 2 model Ljavax/swing/plaf/basic/BasicDirectoryModel;
2 38 3 rowCount I
6 38 4 inputMap Ljavax/swing/InputMap;
7 38 5 key Ljavax/swing/KeyStroke;
10 38 6 startIndex I
15 38 7 c C
16 38 8 time J
29 38 10 index I
36 37 11 cellRect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
e
private int getNextMatch(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getModel:()Ljavax/swing/plaf/basic/BasicDirectoryModel;
astore 3
start local 3 1: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getFileChooser:()Ljavax/swing/JFileChooser;
astore 4
start local 4 2: aload 0
getfield sun.swing.FilePane$1.this$0:Lsun/swing/FilePane;
invokevirtual sun.swing.FilePane.getRowSorter:()Lsun/swing/FilePane$DetailsTableRowSorter;
astore 5
start local 5 3: aload 0
getfield sun.swing.FilePane$1.typedString:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 6
start local 6 4: iload 1
istore 7
start local 7 5: goto 11
6: StackMap locals: sun.swing.FilePane$1 int int javax.swing.plaf.basic.BasicDirectoryModel javax.swing.JFileChooser sun.swing.FilePane$DetailsTableRowSorter java.lang.String int
StackMap stack:
aload 3
aload 5
iload 7
invokevirtual sun.swing.FilePane$DetailsTableRowSorter.convertRowIndexToModel:(I)I
invokevirtual javax.swing.plaf.basic.BasicDirectoryModel.getElementAt:(I)Ljava/lang/Object;
checkcast java.io.File
astore 8
start local 8 7: aload 4
aload 8
invokevirtual javax.swing.JFileChooser.getName:(Ljava/io/File;)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 9
start local 9 8: aload 9
aload 6
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 10
9: iload 7
ireturn
end local 9 end local 8 10: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
iload 2
if_icmple 6
end local 7 12: iconst_m1
ireturn
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 13 0 this Lsun/swing/FilePane$1;
0 13 1 startIndex I
0 13 2 finishIndex I
1 13 3 model Ljavax/swing/plaf/basic/BasicDirectoryModel;
2 13 4 fileChooser Ljavax/swing/JFileChooser;
3 13 5 rowSorter Lsun/swing/FilePane$DetailsTableRowSorter;
4 13 6 prefix Ljava/lang/String;
5 12 7 index I
7 10 8 file Ljava/io/File;
8 10 9 fileName Ljava/lang/String;
MethodParameters:
Name Flags
startIndex
finishIndex
}
SourceFile: "FilePane.java"
EnclosingMethod: sun.swing.FilePane
NestHost: sun.swing.FilePane
InnerClasses:
sun.swing.FilePane$1
private DetailsTableRowSorter = sun.swing.FilePane$DetailsTableRowSorter of sun.swing.FilePane