public final class javafx.collections.WeakSetChangeListener<E> implements javafx.collections.SetChangeListener<E>, javafx.beans.WeakListener
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.collections.WeakSetChangeListener
super_class: java.lang.Object
{
private final java.lang.ref.WeakReference<javafx.collections.SetChangeListener<E>> ref;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljavafx/collections/SetChangeListener<TE;>;>;
public void <init>(javafx.collections.SetChangeListener<E>);
descriptor: (Ljavafx/collections/SetChangeListener;)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.WeakSetChangeListener javafx.collections.SetChangeListener
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.WeakSetChangeListener.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/WeakSetChangeListener<TE;>;
0 5 1 listener Ljavafx/collections/SetChangeListener<TE;>;
Signature: (Ljavafx/collections/SetChangeListener<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.WeakSetChangeListener.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/WeakSetChangeListener<TE;>;
public void onChanged(javafx.collections.SetChangeListener$Change<? extends E>);
descriptor: (Ljavafx/collections/SetChangeListener$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.WeakSetChangeListener.ref:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.collections.SetChangeListener
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 2
aload 1
invokeinterface javafx.collections.SetChangeListener.onChanged:(Ljavafx/collections/SetChangeListener$Change;)V
3: goto 5
4: StackMap locals: javafx.collections.SetChangeListener
StackMap stack:
aload 1
invokevirtual javafx.collections.SetChangeListener$Change.getSet:()Ljavafx/collections/ObservableSet;
aload 0
invokeinterface javafx.collections.ObservableSet.removeListener:(Ljavafx/collections/SetChangeListener;)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/WeakSetChangeListener<TE;>;
0 6 1 change Ljavafx/collections/SetChangeListener$Change<+TE;>;
1 6 2 listener Ljavafx/collections/SetChangeListener<TE;>;
Signature: (Ljavafx/collections/SetChangeListener$Change<+TE;>;)V
MethodParameters:
Name Flags
change
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljavafx/collections/SetChangeListener<TE;>;Ljavafx/beans/WeakListener;
SourceFile: "WeakSetChangeListener.java"
InnerClasses:
public abstract Change = javafx.collections.SetChangeListener$Change of javafx.collections.SetChangeListener