class javafx.scene.control.ListCell$2 implements javafx.beans.InvalidationListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.ListCell$2
super_class: java.lang.Object
{
private java.lang.ref.WeakReference<javafx.collections.ObservableList<T>> weakItemsRef;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/WeakReference<Ljavafx/collections/ObservableList<TT;>;>;
final javafx.scene.control.ListCell this$0;
descriptor: Ljavafx/scene/control/ListCell;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.control.ListCell);
descriptor: (Ljavafx/scene/control/ListCell;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javafx.scene.control.ListCell$2.this$0:Ljavafx/scene/control/ListCell;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.ref.WeakReference
dup
aconst_null
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield javafx.scene.control.ListCell$2.weakItemsRef:Ljava/lang/ref/WeakReference;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/control/ListCell$2;
MethodParameters:
Name Flags
this$0 final
public void invalidated(javafx.beans.Observable);
descriptor: (Ljavafx/beans/Observable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.control.ListCell$2.weakItemsRef:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.collections.ObservableList
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 0
getfield javafx.scene.control.ListCell$2.this$0:Ljavafx/scene/control/ListCell;
getfield javafx.scene.control.ListCell.weakItemsListener:Ljavafx/collections/WeakListChangeListener;
invokeinterface javafx.collections.ObservableList.removeListener:(Ljavafx/collections/ListChangeListener;)V
3: StackMap locals: javafx.collections.ObservableList
StackMap stack:
aload 0
getfield javafx.scene.control.ListCell$2.this$0:Ljavafx/scene/control/ListCell;
invokevirtual javafx.scene.control.ListCell.getListView:()Ljavafx/scene/control/ListView;
astore 3
start local 3 4: aload 3
ifnonnull 5
aconst_null
goto 6
StackMap locals: javafx.scene.control.ListView
StackMap stack:
5: aload 3
invokevirtual javafx.scene.control.ListView.getItems:()Ljavafx/collections/ObservableList;
StackMap locals:
StackMap stack: javafx.collections.ObservableList
6: astore 4
start local 4 7: aload 0
new java.lang.ref.WeakReference
dup
aload 4
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield javafx.scene.control.ListCell$2.weakItemsRef:Ljava/lang/ref/WeakReference;
8: aload 4
ifnull 10
9: aload 4
aload 0
getfield javafx.scene.control.ListCell$2.this$0:Ljavafx/scene/control/ListCell;
getfield javafx.scene.control.ListCell.weakItemsListener:Ljavafx/collections/WeakListChangeListener;
invokeinterface javafx.collections.ObservableList.addListener:(Ljavafx/collections/ListChangeListener;)V
10: StackMap locals: javafx.collections.ObservableList
StackMap stack:
aload 0
getfield javafx.scene.control.ListCell$2.this$0:Ljavafx/scene/control/ListCell;
iconst_m1
invokevirtual javafx.scene.control.ListCell.updateItem:(I)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavafx/scene/control/ListCell$2;
0 12 1 observable Ljavafx/beans/Observable;
1 12 2 oldItems Ljavafx/collections/ObservableList<TT;>;
4 12 3 listView Ljavafx/scene/control/ListView<TT;>;
7 12 4 items Ljavafx/collections/ObservableList<TT;>;
MethodParameters:
Name Flags
observable
}
SourceFile: "ListCell.java"
EnclosingMethod: javafx.scene.control.ListCell
NestHost: javafx.scene.control.ListCell
InnerClasses:
javafx.scene.control.ListCell$2