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