public final class javafx.beans.value.WeakChangeListener<T> implements javafx.beans.value.ChangeListener<T>, javafx.beans.WeakListener
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.beans.value.WeakChangeListener
super_class: java.lang.Object
{
private final java.lang.ref.WeakReference<javafx.beans.value.ChangeListener<T>> ref;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljavafx/beans/value/ChangeListener<TT;>;>;
public void <init>(javafx.beans.value.ChangeListener<T>);
descriptor: (Ljavafx/beans/value/ChangeListener;)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.beans.value.WeakChangeListener javafx.beans.value.ChangeListener
StackMap stack:
aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield javafx.beans.value.WeakChangeListener.ref:Ljava/lang/ref/WeakReference;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/beans/value/WeakChangeListener<TT;>;
0 5 1 listener Ljavafx/beans/value/ChangeListener<TT;>;
Signature: (Ljavafx/beans/value/ChangeListener<TT;>;)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.beans.value.WeakChangeListener.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/beans/value/WeakChangeListener<TT;>;
public void changed(javafx.beans.value.ObservableValue<? extends T>, T, );
descriptor: (Ljavafx/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javafx.beans.value.WeakChangeListener.ref:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.beans.value.ChangeListener
astore 4
start local 4 1: aload 4
ifnull 4
2: aload 4
aload 1
aload 2
aload 3
invokeinterface javafx.beans.value.ChangeListener.changed:(Ljavafx/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V
3: goto 5
4: StackMap locals: javafx.beans.value.ChangeListener
StackMap stack:
aload 1
aload 0
invokeinterface javafx.beans.value.ObservableValue.removeListener:(Ljavafx/beans/value/ChangeListener;)V
5: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/beans/value/WeakChangeListener<TT;>;
0 6 1 observable Ljavafx/beans/value/ObservableValue<+TT;>;
0 6 2 oldValue TT;
0 6 3 newValue TT;
1 6 4 listener Ljavafx/beans/value/ChangeListener<TT;>;
Signature: (Ljavafx/beans/value/ObservableValue<+TT;>;TT;TT;)V
MethodParameters:
Name Flags
observable
oldValue
newValue
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljavafx/beans/value/ChangeListener<TT;>;Ljavafx/beans/WeakListener;
SourceFile: "WeakChangeListener.java"