public final class javafx.collections.WeakListChangeListener<E> implements javafx.collections.ListChangeListener<E>, javafx.beans.WeakListener
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.collections.WeakListChangeListener
super_class: java.lang.Object
{
private final java.lang.ref.WeakReference<javafx.collections.ListChangeListener<E>> ref;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljavafx/collections/ListChangeListener<TE;>;>;
public void <init>(javafx.collections.ListChangeListener<E>);
descriptor: (Ljavafx/collections/ListChangeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Listener must be specified."
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javafx.collections.WeakListChangeListener javafx.collections.ListChangeListener
StackMap stack:
aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield javafx.collections.WeakListChangeListener.ref:Ljava/lang/ref/WeakReference;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/collections/WeakListChangeListener<TE;>;
0 5 1 listener Ljavafx/collections/ListChangeListener<TE;>;
Signature: (Ljavafx/collections/ListChangeListener<TE;>;)V
RuntimeVisibleParameterAnnotations:
0:
javafx.beans.NamedArg(value = "listener")
MethodParameters:
Name Flags
listener
public boolean wasGarbageCollected();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.collections.WeakListChangeListener.ref:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavafx/collections/WeakListChangeListener<TE;>;
public void onChanged(javafx.collections.ListChangeListener$Change<? extends E>);
descriptor: (Ljavafx/collections/ListChangeListener$Change;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.collections.WeakListChangeListener.ref:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.collections.ListChangeListener
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 2
aload 1
invokeinterface javafx.collections.ListChangeListener.onChanged:(Ljavafx/collections/ListChangeListener$Change;)V
3: goto 5
4: StackMap locals: javafx.collections.ListChangeListener
StackMap stack:
aload 1
invokevirtual javafx.collections.ListChangeListener$Change.getList:()Ljavafx/collections/ObservableList;
aload 0
invokeinterface javafx.collections.ObservableList.removeListener:(Ljavafx/collections/ListChangeListener;)V
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/collections/WeakListChangeListener<TE;>;
0 6 1 change Ljavafx/collections/ListChangeListener$Change<+TE;>;
1 6 2 listener Ljavafx/collections/ListChangeListener<TE;>;
Signature: (Ljavafx/collections/ListChangeListener$Change<+TE;>;)V
MethodParameters:
Name Flags
change
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljavafx/collections/ListChangeListener<TE;>;Ljavafx/beans/WeakListener;
SourceFile: "WeakListChangeListener.java"
InnerClasses:
public abstract Change = javafx.collections.ListChangeListener$Change of javafx.collections.ListChangeListener