class javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager implements javax.swing.JComboBox$KeySelectionManager, javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager
super_class: java.lang.Object
{
private java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String typedString;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
final javax.swing.plaf.basic.BasicComboBoxUI this$0;
descriptor: Ljavax/swing/plaf/basic/BasicComboBoxUI;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javax.swing.plaf.basic.BasicComboBoxUI);
descriptor: (Ljavax/swing/plaf/basic/BasicComboBoxUI;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager this
0: .line 2018
aload 0 /* this */
aload 1
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 2019
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
2: .line 2020
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
3: .line 2018
return
end local 0 // javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$DefaultKeySelectionManager;
MethodParameters:
Name Flags
this$0 final
public int selectionForKey(char, javax.swing.ComboBoxModel<?>);
descriptor: (CLjavax/swing/ComboBoxModel;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 // javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager this
start local 1 // char aKey
start local 2 // javax.swing.ComboBoxModel aModel
0: .line 2023
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.lastTime:J
lconst_0
lcmp
ifne 3
1: .line 2024
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
2: .line 2025
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
3: .line 2027
StackMap locals:
StackMap stack:
iconst_1
istore 3 /* startingFromSelection */
start local 3 // boolean startingFromSelection
4: .line 2029
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.comboBox:Ljavax/swing/JComboBox;
invokevirtual javax.swing.JComboBox.getSelectedIndex:()I
istore 4 /* startIndex */
start local 4 // int startIndex
5: .line 2030
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.time:J
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.lastTime:J
lsub
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.timeFactor:J
lcmp
ifge 12
6: .line 2031
aload 0 /* this */
dup
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
new java.lang.StringBuilder
dup_x1
swap
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1 /* aKey */
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
7: .line 2032
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 10
iload 1 /* aKey */
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
iconst_0
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 10
8: .line 2035
iinc 4 /* startIndex */ 1
9: .line 2036
goto 15
10: .line 2037
StackMap locals: int int
StackMap stack:
aload 0 /* this */
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
11: .line 2039
goto 15
12: .line 2040
StackMap locals:
StackMap stack:
iinc 4 /* startIndex */ 1
13: .line 2041
aload 0 /* this */
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 1 /* aKey */
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
14: .line 2042
aload 0 /* this */
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
15: .line 2044
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.time:J
putfield javax.swing.plaf.basic.BasicComboBoxUI.lastTime:J
16: .line 2046
iload 4 /* startIndex */
iflt 17
iload 4 /* startIndex */
aload 2 /* aModel */
invokeinterface javax.swing.ComboBoxModel.getSize:()I
if_icmplt 19
17: .line 2047
StackMap locals:
StackMap stack:
iconst_0
istore 3 /* startingFromSelection */
18: .line 2048
iconst_0
istore 4 /* startIndex */
19: .line 2050
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.listBox:Ljavax/swing/JList;
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
iload 4 /* startIndex */
20: .line 2051
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
21: .line 2050
invokevirtual javax.swing.JList.getNextMatch:(Ljava/lang/String;ILjavax/swing/text/Position$Bias;)I
istore 5 /* index */
start local 5 // int index
22: .line 2052
iload 5 /* index */
ifge 26
iload 3 /* startingFromSelection */
ifeq 26
23: .line 2053
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.this$0:Ljavax/swing/plaf/basic/BasicComboBoxUI;
getfield javax.swing.plaf.basic.BasicComboBoxUI.listBox:Ljavax/swing/JList;
aload 0 /* this */
getfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
iconst_0
24: .line 2054
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
25: .line 2053
invokevirtual javax.swing.JList.getNextMatch:(Ljava/lang/String;ILjavax/swing/text/Position$Bias;)I
istore 5 /* index */
26: .line 2056
StackMap locals: int
StackMap stack:
iload 5 /* index */
ireturn
end local 5 // int index
end local 4 // int startIndex
end local 3 // boolean startingFromSelection
end local 2 // javax.swing.ComboBoxModel aModel
end local 1 // char aKey
end local 0 // javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager this
LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/plaf/basic/BasicComboBoxUI$DefaultKeySelectionManager;
0 27 1 aKey C
0 27 2 aModel Ljavax/swing/ComboBoxModel<*>;
4 27 3 startingFromSelection Z
5 27 4 startIndex I
22 27 5 index I
Signature: (CLjavax/swing/ComboBoxModel<*>;)I
MethodParameters:
Name Flags
aKey
aModel
}
SourceFile: "BasicComboBoxUI.java"
NestHost: javax.swing.plaf.basic.BasicComboBoxUI
InnerClasses:
public abstract KeySelectionManager = javax.swing.JComboBox$KeySelectionManager of javax.swing.JComboBox
DefaultKeySelectionManager = javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager of javax.swing.plaf.basic.BasicComboBoxUI
public final Bias = javax.swing.text.Position$Bias of javax.swing.text.Position