class javafx.beans.binding.When$1 extends javafx.beans.binding.DoubleBinding
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.beans.binding.When$1
super_class: javafx.beans.binding.DoubleBinding
{
final javafx.beans.InvalidationListener observer;
descriptor: Ljavafx/beans/InvalidationListener;
flags: (0x0010) ACC_FINAL
private final javafx.beans.value.ObservableBooleanValue val$condition;
descriptor: Ljavafx/beans/value/ObservableBooleanValue;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final javafx.beans.value.ObservableNumberValue val$thenValue;
descriptor: Ljavafx/beans/value/ObservableNumberValue;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final javafx.beans.value.ObservableNumberValue val$otherwiseValue;
descriptor: Ljavafx/beans/value/ObservableNumberValue;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.beans.value.ObservableBooleanValue, javafx.beans.value.ObservableNumberValue, javafx.beans.value.ObservableNumberValue);
descriptor: (Ljavafx/beans/value/ObservableBooleanValue;Ljavafx/beans/value/ObservableNumberValue;Ljavafx/beans/value/ObservableNumberValue;)V
flags: (0x0000)
Code:
stack=7, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield javafx.beans.binding.When$1.val$condition:Ljavafx/beans/value/ObservableBooleanValue;
aload 0
aload 2
putfield javafx.beans.binding.When$1.val$thenValue:Ljavafx/beans/value/ObservableNumberValue;
aload 0
aload 3
putfield javafx.beans.binding.When$1.val$otherwiseValue:Ljavafx/beans/value/ObservableNumberValue;
aload 0
invokespecial javafx.beans.binding.DoubleBinding.<init>:()V
1: aload 0
new javafx.beans.binding.When$WhenListener
dup
aload 0
aload 1
aload 2
aload 3
invokespecial javafx.beans.binding.When$WhenListener.<init>:(Ljavafx/beans/binding/Binding;Ljavafx/beans/value/ObservableBooleanValue;Ljavafx/beans/value/ObservableValue;Ljavafx/beans/value/ObservableValue;)V
putfield javafx.beans.binding.When$1.observer:Ljavafx/beans/InvalidationListener;
2: aload 1
aload 0
getfield javafx.beans.binding.When$1.observer:Ljavafx/beans/InvalidationListener;
invokeinterface javafx.beans.value.ObservableBooleanValue.addListener:(Ljavafx/beans/InvalidationListener;)V
3: aload 2
aload 0
getfield javafx.beans.binding.When$1.observer:Ljavafx/beans/InvalidationListener;
invokeinterface javafx.beans.value.ObservableNumberValue.addListener:(Ljavafx/beans/InvalidationListener;)V
4: aload 3
aload 0
getfield javafx.beans.binding.When$1.observer:Ljavafx/beans/InvalidationListener;
invokeinterface javafx.beans.value.ObservableNumberValue.addListener:(Ljavafx/beans/InvalidationListener;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavafx/beans/binding/When$1;
MethodParameters:
Name Flags
val$condition final
val$thenValue final
val$otherwiseValue final
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javafx.beans.binding.When$1.val$condition:Ljavafx/beans/value/ObservableBooleanValue;
aload 0
getfield javafx.beans.binding.When$1.observer:Ljavafx/beans/InvalidationListener;
invokeinterface javafx.beans.value.ObservableBooleanValue.removeListener:(Ljavafx/beans/InvalidationListener;)V
1: aload 0
getfield javafx.beans.binding.When$1.val$thenValue:Ljavafx/beans/value/ObservableNumberValue;
aload 0
getfield javafx.beans.binding.When$1.observer:Ljavafx/beans/InvalidationListener;
invokeinterface javafx.beans.value.ObservableNumberValue.removeListener:(Ljavafx/beans/InvalidationListener;)V
2: aload 0
getfield javafx.beans.binding.When$1.val$otherwiseValue:Ljavafx/beans/value/ObservableNumberValue;
aload 0
getfield javafx.beans.binding.When$1.observer:Ljavafx/beans/InvalidationListener;
invokeinterface javafx.beans.value.ObservableNumberValue.removeListener:(Ljavafx/beans/InvalidationListener;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/beans/binding/When$1;
protected double computeValue();
descriptor: ()D
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield javafx.beans.binding.When$1.val$condition:Ljavafx/beans/value/ObservableBooleanValue;
invokeinterface javafx.beans.value.ObservableBooleanValue.get:()Z
istore 1
start local 1 1: invokestatic com.sun.javafx.binding.Logging.getLogger:()Lcom/sun/javafx/binding/Logging$ErrorLogger;
ldc "Condition of ternary binding expression was evaluated: {0}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
invokevirtual com.sun.javafx.binding.Logging$ErrorLogger.finest:(Ljava/lang/String;[Ljava/lang/Object;)V
2: iload 1
ifeq 3
aload 0
getfield javafx.beans.binding.When$1.val$thenValue:Ljavafx/beans/value/ObservableNumberValue;
invokeinterface javafx.beans.value.ObservableNumberValue.doubleValue:()D
goto 4
StackMap locals: int
StackMap stack:
3: aload 0
getfield javafx.beans.binding.When$1.val$otherwiseValue:Ljavafx/beans/value/ObservableNumberValue;
invokeinterface javafx.beans.value.ObservableNumberValue.doubleValue:()D
StackMap locals:
StackMap stack: double
4: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavafx/beans/binding/When$1;
1 5 1 conditionValue Z
public javafx.collections.ObservableList<javafx.beans.value.ObservableValue<?>> getDependencies();
descriptor: ()Ljavafx/collections/ObservableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray javafx.beans.value.ObservableValue
dup
iconst_0
1: aload 0
getfield javafx.beans.binding.When$1.val$condition:Ljavafx/beans/value/ObservableBooleanValue;
aastore
dup
iconst_1
aload 0
getfield javafx.beans.binding.When$1.val$thenValue:Ljavafx/beans/value/ObservableNumberValue;
aastore
dup
iconst_2
aload 0
getfield javafx.beans.binding.When$1.val$otherwiseValue:Ljavafx/beans/value/ObservableNumberValue;
aastore
invokestatic javafx.collections.FXCollections.observableArrayList:([Ljava/lang/Object;)Ljavafx/collections/ObservableList;
2: invokestatic javafx.collections.FXCollections.unmodifiableObservableList:(Ljavafx/collections/ObservableList;)Ljavafx/collections/ObservableList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/beans/binding/When$1;
Signature: ()Ljavafx/collections/ObservableList<Ljavafx/beans/value/ObservableValue<*>;>;
}
SourceFile: "When.java"
EnclosingMethod: javafx.beans.binding.When.createNumberCondition:(Ljavafx/beans/value/ObservableBooleanValue;Ljavafx/beans/value/ObservableNumberValue;Ljavafx/beans/value/ObservableNumberValue;)Ljavafx/beans/binding/NumberBinding;
NestHost: javafx.beans.binding.When
InnerClasses:
public ErrorLogger = com.sun.javafx.binding.Logging$ErrorLogger of com.sun.javafx.binding.Logging
javafx.beans.binding.When$1
private WhenListener = javafx.beans.binding.When$WhenListener of javafx.beans.binding.When