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 1958
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 1959
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
2: .line 1960
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
3: .line 1958
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 1963
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 1964
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.prefix:Ljava/lang/String;
2: .line 1965
aload 0 /* this */
ldc ""
putfield javax.swing.plaf.basic.BasicComboBoxUI$DefaultKeySelectionManager.typedString:Ljava/lang/String;
3: .line 1967
StackMap locals:
StackMap stack:
iconst_1
istore 3 /* startingFromSelection */
start local 3 // boolean startingFromSelection
4: .line 1969
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 1970
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 1971
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 1972
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 1975
iinc 4 /* startIndex */ 1
9: .line 1976
goto 15
10: .line 1977
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 1979
goto 15
12: .line 1980
StackMap locals:
StackMap stack:
iinc 4 /* startIndex */ 1
13: .line 1981
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 1982
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 1984
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 1986
iload 4 /* startIndex */
iflt 17
iload 4 /* startIndex */
aload 2 /* aModel */
invokeinterface javax.swing.ComboBoxModel.getSize:()I
if_icmplt 19
17: .line 1987
StackMap locals:
StackMap stack:
iconst_0
istore 3 /* startingFromSelection */
18: .line 1988
iconst_0
istore 4 /* startIndex */
19: .line 1990
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 1991
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
21: .line 1990
invokevirtual javax.swing.JList.getNextMatch:(Ljava/lang/String;ILjavax/swing/text/Position$Bias;)I
istore 5 /* index */
start local 5 // int index
22: .line 1992
iload 5 /* index */
ifge 26
iload 3 /* startingFromSelection */
ifeq 26
23: .line 1993
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 1994
getstatic javax.swing.text.Position$Bias.Forward:Ljavax/swing/text/Position$Bias;
25: .line 1993
invokevirtual javax.swing.JList.getNextMatch:(Ljava/lang/String;ILjavax/swing/text/Position$Bias;)I
istore 5 /* index */
26: .line 1996
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
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