class javafx.scene.control.ComboBox$ComboBoxSelectionModel$1 implements javafx.collections.ListChangeListener<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.ComboBox$ComboBoxSelectionModel$1
super_class: java.lang.Object
{
final javafx.scene.control.ComboBox$ComboBoxSelectionModel this$1;
descriptor: Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.control.ComboBox$ComboBoxSelectionModel);
descriptor: (Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // javafx.scene.control.ComboBox$ComboBoxSelectionModel$1 this
0: .line 588
aload 0 /* this */
aload 1
putfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // javafx.scene.control.ComboBox$ComboBoxSelectionModel$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel$1;
MethodParameters:
Name Flags
this$0 final
public void onChanged(javafx.collections.ListChangeListener$Change<? extends T>);
descriptor: (Ljavafx/collections/ListChangeListener$Change;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 // javafx.scene.control.ComboBox$ComboBoxSelectionModel$1 this
start local 1 // javafx.collections.ListChangeListener$Change c
0: .line 590
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
invokevirtual javafx.scene.control.ComboBox.getItems:()Ljavafx/collections/ObservableList;
ifnull 1
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
invokevirtual javafx.scene.control.ComboBox.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.isEmpty:()Z
ifeq 3
1: .line 591
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
iconst_m1
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.setSelectedIndex:(I)V
2: .line 592
goto 7
StackMap locals:
StackMap stack:
3: aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedIndex:()I
iconst_m1
if_icmpne 7
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedItem:()Ljava/lang/Object;
ifnull 7
4: .line 593
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
invokevirtual javafx.scene.control.ComboBox.getItems:()Ljavafx/collections/ObservableList;
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedItem:()Ljava/lang/Object;
invokeinterface javafx.collections.ObservableList.indexOf:(Ljava/lang/Object;)I
istore 2 /* newIndex */
start local 2 // int newIndex
5: .line 594
iload 2 /* newIndex */
iconst_m1
if_icmpeq 7
6: .line 595
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
iload 2 /* newIndex */
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.setSelectedIndex:(I)V
end local 2 // int newIndex
7: .line 599
StackMap locals:
StackMap stack:
iconst_0
istore 2 /* shift */
start local 2 // int shift
8: .line 600
goto 18
9: .line 601
StackMap locals: int
StackMap stack:
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
getfield javafx.scene.control.ComboBox.previousItemCount:I
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.getRemovedSize:()I
if_icmpne 10
iconst_1
goto 11
StackMap locals:
StackMap stack: javafx.scene.control.ComboBox
10: iconst_0
StackMap locals: javafx.scene.control.ComboBox$ComboBoxSelectionModel$1 javafx.collections.ListChangeListener$Change int
StackMap stack: javafx.scene.control.ComboBox int
11: putfield javafx.scene.control.ComboBox.wasSetAllCalled:Z
12: .line 603
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.wasReplaced:()Z
ifne 18
13: .line 605
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.wasAdded:()Z
ifne 14
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.wasRemoved:()Z
ifeq 18
14: .line 606
StackMap locals:
StackMap stack:
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.getFrom:()I
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedIndex:()I
if_icmpgt 18
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedIndex:()I
iconst_m1
if_icmpeq 18
15: .line 607
iload 2 /* shift */
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.wasAdded:()Z
ifeq 16
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.getAddedSize:()I
goto 17
StackMap locals:
StackMap stack: int
16: aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.getRemovedSize:()I
ineg
StackMap locals: javafx.scene.control.ComboBox$ComboBoxSelectionModel$1 javafx.collections.ListChangeListener$Change int
StackMap stack: int int
17: iadd
istore 2 /* shift */
18: .line 600
StackMap locals:
StackMap stack:
aload 1 /* c */
invokevirtual javafx.collections.ListChangeListener$Change.next:()Z
ifne 9
19: .line 612
iload 2 /* shift */
ifeq 22
20: .line 613
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedIndex:()I
iload 2 /* shift */
iadd
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.clearAndSelect:(I)V
21: .line 614
goto 33
StackMap locals:
StackMap stack:
22: aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
getfield javafx.scene.control.ComboBox.wasSetAllCalled:Z
ifeq 33
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedIndex:()I
iflt 33
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedItem:()Ljava/lang/Object;
ifnull 33
23: .line 616
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getSelectedItem:()Ljava/lang/Object;
astore 3 /* selectedItem */
start local 3 // java.lang.Object selectedItem
24: .line 617
iconst_0
istore 4 /* i */
start local 4 // int i
25: goto 32
26: .line 618
StackMap locals: java.lang.Object int
StackMap stack:
aload 3 /* selectedItem */
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
invokevirtual javafx.scene.control.ComboBox.getItems:()Ljavafx/collections/ObservableList;
iload 4 /* i */
invokeinterface javafx.collections.ObservableList.get:(I)Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 31
27: .line 619
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
aconst_null
invokevirtual javafx.scene.control.ComboBox.setValue:(Ljava/lang/Object;)V
28: .line 620
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
aconst_null
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.setSelectedItem:(Ljava/lang/Object;)V
29: .line 621
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
iload 4 /* i */
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.setSelectedIndex:(I)V
30: .line 622
goto 33
31: .line 617
StackMap locals:
StackMap stack:
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
32: iload 4 /* i */
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
invokevirtual javafx.scene.control.ComboBox.getItems:()Ljavafx/collections/ObservableList;
invokeinterface javafx.collections.ObservableList.size:()I
if_icmplt 26
end local 4 // int i
end local 3 // java.lang.Object selectedItem
33: .line 627
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel.comboBox:Ljavafx/scene/control/ComboBox;
aload 0 /* this */
getfield javafx.scene.control.ComboBox$ComboBoxSelectionModel$1.this$1:Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel;
invokevirtual javafx.scene.control.ComboBox$ComboBoxSelectionModel.getItemCount:()I
putfield javafx.scene.control.ComboBox.previousItemCount:I
34: .line 628
return
end local 2 // int shift
end local 1 // javafx.collections.ListChangeListener$Change c
end local 0 // javafx.scene.control.ComboBox$ComboBoxSelectionModel$1 this
LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Ljavafx/scene/control/ComboBox$ComboBoxSelectionModel$1;
0 35 1 c Ljavafx/collections/ListChangeListener$Change<+TT;>;
5 7 2 newIndex I
8 35 2 shift I
24 33 3 selectedItem TT;
25 33 4 i I
Signature: (Ljavafx/collections/ListChangeListener$Change<+TT;>;)V
MethodParameters:
Name Flags
c
}
Signature: Ljava/lang/Object;Ljavafx/collections/ListChangeListener<TT;>;
SourceFile: "ComboBox.java"
EnclosingMethod: javafx.scene.control.ComboBox$ComboBoxSelectionModel
NestHost: javafx.scene.control.ComboBox
InnerClasses:
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener
ComboBoxSelectionModel = javafx.scene.control.ComboBox$ComboBoxSelectionModel of javafx.scene.control.ComboBox
javafx.scene.control.ComboBox$ComboBoxSelectionModel$1