class javafx.scene.control.TreeView$TreeViewFocusModel$1 implements javafx.event.EventHandler<javafx.scene.control.TreeItem$TreeModificationEvent<T>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.TreeView$TreeViewFocusModel$1
super_class: java.lang.Object
{
final javafx.scene.control.TreeView$TreeViewFocusModel this$1;
descriptor: Ljavafx/scene/control/TreeView$TreeViewFocusModel;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.control.TreeView$TreeViewFocusModel);
descriptor: (Ljavafx/scene/control/TreeView$TreeViewFocusModel;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/TreeView$TreeViewFocusModel$1;
MethodParameters:
Name Flags
this$0 final
public void handle(javafx.scene.control.TreeItem$TreeModificationEvent<T>);
descriptor: (Ljavafx/scene/control/TreeItem$TreeModificationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedIndex:()I
iconst_m1
if_icmpne 1
return
1: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
getfield javafx.scene.control.TreeView$TreeViewFocusModel.treeView:Ljavafx/scene/control/TreeView;
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getTreeItem:()Ljavafx/scene/control/TreeItem;
invokevirtual javafx.scene.control.TreeView.getRow:(Ljavafx/scene/control/TreeItem;)I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getChange:()Ljavafx/collections/ListChangeListener$Change;
ifnull 5
4: aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getChange:()Ljavafx/collections/ListChangeListener$Change;
invokevirtual javafx.collections.ListChangeListener$Change.next:()Z
pop
5: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.wasExpanded:()Z
ifeq 9
6: iload 2
aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedIndex:()I
if_icmpge 39
7: iload 3
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getTreeItem:()Ljavafx/scene/control/TreeItem;
iconst_0
invokevirtual javafx.scene.control.TreeItem.getExpandedDescendentCount:(Z)I
iconst_1
isub
iadd
istore 3
8: goto 39
StackMap locals:
StackMap stack:
9: aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.wasCollapsed:()Z
ifeq 13
10: iload 2
aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedIndex:()I
if_icmpge 39
11: iload 3
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getTreeItem:()Ljavafx/scene/control/TreeItem;
getfield javafx.scene.control.TreeItem.previousExpandedDescendentCount:I
ineg
iconst_1
iadd
iadd
istore 3
12: goto 39
StackMap locals:
StackMap stack:
13: aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.wasAdded:()Z
ifeq 25
14: aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getTreeItem:()Ljavafx/scene/control/TreeItem;
astore 4
start local 4 15: aload 4
invokevirtual javafx.scene.control.TreeItem.isExpanded:()Z
ifeq 39
16: iconst_0
istore 5
start local 5 17: goto 23
18: StackMap locals: javafx.scene.control.TreeItem int
StackMap stack:
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getAddedChildren:()Ljava/util/List;
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.TreeItem
astore 6
start local 6 19: aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
getfield javafx.scene.control.TreeView$TreeViewFocusModel.treeView:Ljavafx/scene/control/TreeView;
aload 6
invokevirtual javafx.scene.control.TreeView.getRow:(Ljavafx/scene/control/TreeItem;)I
istore 2
20: aload 6
ifnull 22
iload 2
iload 3
aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedIndex:()I
iadd
if_icmpgt 22
21: iload 3
aload 6
iconst_0
invokevirtual javafx.scene.control.TreeItem.getExpandedDescendentCount:(Z)I
iadd
istore 3
end local 6 22: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
23: iload 5
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getAddedChildren:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 18
end local 5 end local 4 24: goto 39
StackMap locals:
StackMap stack:
25: aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.wasRemoved:()Z
ifeq 39
26: iload 2
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getFrom:()I
iconst_1
iadd
iadd
istore 2
27: iconst_0
istore 4
start local 4 28: goto 34
29: StackMap locals: int
StackMap stack:
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getRemovedChildren:()Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javafx.scene.control.TreeItem
astore 5
start local 5 30: aload 5
ifnull 33
aload 5
aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedItem:()Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 33
31: aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
iconst_0
aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedIndex:()I
iconst_1
isub
invokestatic java.lang.Math.max:(II)I
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.focus:(I)V
32: return
end local 5 33: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
34: iload 4
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getRemovedChildren:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 29
end local 4 35: iload 2
aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedIndex:()I
if_icmpgt 39
36: iload 3
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getTreeItem:()Ljavafx/scene/control/TreeItem;
invokevirtual javafx.scene.control.TreeItem.isExpanded:()Z
ifeq 37
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getRemovedSize:()I
ineg
goto 38
StackMap locals: javafx.scene.control.TreeView$TreeViewFocusModel$1 javafx.scene.control.TreeItem$TreeModificationEvent int int
StackMap stack: int
37: iconst_0
StackMap locals: javafx.scene.control.TreeView$TreeViewFocusModel$1 javafx.scene.control.TreeItem$TreeModificationEvent int int
StackMap stack: int int
38: iadd
istore 3
39: StackMap locals:
StackMap stack:
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getChange:()Ljavafx/collections/ListChangeListener$Change;
ifnull 40
aload 1
invokevirtual javafx.scene.control.TreeItem$TreeModificationEvent.getChange:()Ljavafx/collections/ListChangeListener$Change;
invokevirtual javafx.collections.ListChangeListener$Change.next:()Z
ifne 5
40: StackMap locals:
StackMap stack:
iload 3
ifeq 44
41: aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.getFocusedIndex:()I
iload 3
iadd
istore 4
start local 4 42: iload 4
iflt 44
43: aload 0
iload 4
invokedynamic run(Ljavafx/scene/control/TreeView$TreeViewFocusModel$1;I)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
javafx/scene/control/TreeView$TreeViewFocusModel$1.lambda$0(I)V (7)
()V
invokestatic javafx.application.Platform.runLater:(Ljava/lang/Runnable;)V
end local 4 44: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Ljavafx/scene/control/TreeView$TreeViewFocusModel$1;
0 45 1 e Ljavafx/scene/control/TreeItem$TreeModificationEvent<TT;>;
2 45 2 row I
3 45 3 shift I
15 24 4 eventTreeItem Ljavafx/scene/control/TreeItem<TT;>;
17 24 5 i I
19 22 6 item Ljavafx/scene/control/TreeItem<TT;>;
28 35 4 i I
30 33 5 item Ljavafx/scene/control/TreeItem<TT;>;
42 44 4 newFocus I
Signature: (Ljavafx/scene/control/TreeItem$TreeModificationEvent<TT;>;)V
MethodParameters:
Name Flags
e
public void handle(javafx.event.Event);
descriptor: (Ljavafx/event/Event;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast javafx.scene.control.TreeItem$TreeModificationEvent
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel$1.handle:(Ljavafx/scene/control/TreeItem$TreeModificationEvent;)V
return
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(int);
descriptor: (I)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
getfield javafx.scene.control.TreeView$TreeViewFocusModel$1.this$1:Ljavafx/scene/control/TreeView$TreeViewFocusModel;
iload 1
invokevirtual javafx.scene.control.TreeView$TreeViewFocusModel.focus:(I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/control/TreeView$TreeViewFocusModel$1;
}
Signature: Ljava/lang/Object;Ljavafx/event/EventHandler<Ljavafx/scene/control/TreeItem$TreeModificationEvent<TT;>;>;
SourceFile: "TreeView.java"
EnclosingMethod: javafx.scene.control.TreeView$TreeViewFocusModel
NestHost: javafx.scene.control.TreeView
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener
public TreeModificationEvent = javafx.scene.control.TreeItem$TreeModificationEvent of javafx.scene.control.TreeItem
TreeViewFocusModel = javafx.scene.control.TreeView$TreeViewFocusModel of javafx.scene.control.TreeView
javafx.scene.control.TreeView$TreeViewFocusModel$1