public final class javafx.beans.WeakInvalidationListener implements javafx.beans.InvalidationListener, javafx.beans.WeakListener
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: javafx.beans.WeakInvalidationListener
super_class: java.lang.Object
{
private final java.lang.ref.WeakReference<javafx.beans.InvalidationListener> ref;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljavafx/beans/InvalidationListener;>;
public void <init>(javafx.beans.InvalidationListener);
descriptor: (Ljavafx/beans/InvalidationListener;)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.WeakInvalidationListener javafx.beans.InvalidationListener
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.WeakInvalidationListener.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/WeakInvalidationListener;
0 5 1 listener Ljavafx/beans/InvalidationListener;
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.WeakInvalidationListener.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/WeakInvalidationListener;
public void invalidated(javafx.beans.Observable);
descriptor: (Ljavafx/beans/Observable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.beans.WeakInvalidationListener.ref:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.beans.InvalidationListener
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 2
aload 1
invokeinterface javafx.beans.InvalidationListener.invalidated:(Ljavafx/beans/Observable;)V
3: goto 5
4: StackMap locals: javafx.beans.InvalidationListener
StackMap stack:
aload 1
aload 0
invokeinterface javafx.beans.Observable.removeListener:(Ljavafx/beans/InvalidationListener;)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/beans/WeakInvalidationListener;
0 6 1 observable Ljavafx/beans/Observable;
1 6 2 listener Ljavafx/beans/InvalidationListener;
MethodParameters:
Name Flags
observable
}
SourceFile: "WeakInvalidationListener.java"