class javafx.beans.binding.When$WhenListener implements javafx.beans.InvalidationListener
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.beans.binding.When$WhenListener
super_class: java.lang.Object
{
private final javafx.beans.value.ObservableBooleanValue condition;
descriptor: Ljavafx/beans/value/ObservableBooleanValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javafx.beans.value.ObservableValue<?> thenValue;
descriptor: Ljavafx/beans/value/ObservableValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/beans/value/ObservableValue<*>;
private final javafx.beans.value.ObservableValue<?> otherwiseValue;
descriptor: Ljavafx/beans/value/ObservableValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljavafx/beans/value/ObservableValue<*>;
private final java.lang.ref.WeakReference<javafx.beans.binding.Binding<?>> ref;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljavafx/beans/binding/Binding<*>;>;
private void <init>(javafx.beans.binding.Binding<?>, javafx.beans.value.ObservableBooleanValue, javafx.beans.value.ObservableValue<?>, javafx.beans.value.ObservableValue<?>);
descriptor: (Ljavafx/beans/binding/Binding;Ljavafx/beans/value/ObservableBooleanValue;Ljavafx/beans/value/ObservableValue;Ljavafx/beans/value/ObservableValue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield javafx.beans.binding.When$WhenListener.ref:Ljava/lang/ref/WeakReference;
2: aload 0
aload 2
putfield javafx.beans.binding.When$WhenListener.condition:Ljavafx/beans/value/ObservableBooleanValue;
3: aload 0
aload 3
putfield javafx.beans.binding.When$WhenListener.thenValue:Ljavafx/beans/value/ObservableValue;
4: aload 0
aload 4
putfield javafx.beans.binding.When$WhenListener.otherwiseValue:Ljavafx/beans/value/ObservableValue;
5: 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/binding/When$WhenListener;
0 6 1 binding Ljavafx/beans/binding/Binding<*>;
0 6 2 condition Ljavafx/beans/value/ObservableBooleanValue;
0 6 3 thenValue Ljavafx/beans/value/ObservableValue<*>;
0 6 4 otherwiseValue Ljavafx/beans/value/ObservableValue<*>;
Signature: (Ljavafx/beans/binding/Binding<*>;Ljavafx/beans/value/ObservableBooleanValue;Ljavafx/beans/value/ObservableValue<*>;Ljavafx/beans/value/ObservableValue<*>;)V
MethodParameters:
Name Flags
binding
condition
thenValue
otherwiseValue
public void invalidated(javafx.beans.Observable);
descriptor: (Ljavafx/beans/Observable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.beans.binding.When$WhenListener.ref:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast javafx.beans.binding.Binding
astore 2
start local 2 1: aload 2
ifnonnull 8
2: aload 0
getfield javafx.beans.binding.When$WhenListener.condition:Ljavafx/beans/value/ObservableBooleanValue;
aload 0
invokeinterface javafx.beans.value.ObservableBooleanValue.removeListener:(Ljavafx/beans/InvalidationListener;)V
3: aload 0
getfield javafx.beans.binding.When$WhenListener.thenValue:Ljavafx/beans/value/ObservableValue;
ifnull 5
4: aload 0
getfield javafx.beans.binding.When$WhenListener.thenValue:Ljavafx/beans/value/ObservableValue;
aload 0
invokeinterface javafx.beans.value.ObservableValue.removeListener:(Ljavafx/beans/InvalidationListener;)V
5: StackMap locals: javafx.beans.binding.Binding
StackMap stack:
aload 0
getfield javafx.beans.binding.When$WhenListener.otherwiseValue:Ljavafx/beans/value/ObservableValue;
ifnull 10
6: aload 0
getfield javafx.beans.binding.When$WhenListener.otherwiseValue:Ljavafx/beans/value/ObservableValue;
aload 0
invokeinterface javafx.beans.value.ObservableValue.removeListener:(Ljavafx/beans/InvalidationListener;)V
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield javafx.beans.binding.When$WhenListener.condition:Ljavafx/beans/value/ObservableBooleanValue;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 9
aload 2
invokeinterface javafx.beans.binding.Binding.isValid:()Z
ifeq 10
aload 0
getfield javafx.beans.binding.When$WhenListener.condition:Ljavafx/beans/value/ObservableBooleanValue;
invokeinterface javafx.beans.value.ObservableBooleanValue.get:()Z
aload 1
aload 0
getfield javafx.beans.binding.When$WhenListener.thenValue:Ljavafx/beans/value/ObservableValue;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
if_icmpne 10
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface javafx.beans.binding.Binding.invalidate:()V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavafx/beans/binding/When$WhenListener;
0 11 1 observable Ljavafx/beans/Observable;
1 11 2 binding Ljavafx/beans/binding/Binding<*>;
MethodParameters:
Name Flags
observable
}
SourceFile: "When.java"
NestHost: javafx.beans.binding.When
InnerClasses:
private WhenListener = javafx.beans.binding.When$WhenListener of javafx.beans.binding.When