public class com.sun.javafx.scene.control.skin.DoubleFieldSkin extends com.sun.javafx.scene.control.skin.InputFieldSkin
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.javafx.scene.control.skin.DoubleFieldSkin
super_class: com.sun.javafx.scene.control.skin.InputFieldSkin
{
private javafx.beans.InvalidationListener doubleFieldValueListener;
descriptor: Ljavafx/beans/InvalidationListener;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.javafx.scene.control.DoubleField);
descriptor: (Lcom/sun/javafx/scene/control/DoubleField;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.javafx.scene.control.skin.InputFieldSkin.<init>:(Lcom/sun/javafx/scene/control/InputField;)V
1: aload 1
invokevirtual com.sun.javafx.scene.control.DoubleField.valueProperty:()Ljavafx/beans/property/DoubleProperty;
aload 0
aload 0
invokedynamic invalidated(Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;)Ljavafx/beans/InvalidationListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljavafx/beans/Observable;)V
com/sun/javafx/scene/control/skin/DoubleFieldSkin.lambda$0(Ljavafx/beans/Observable;)V (7)
(Ljavafx/beans/Observable;)V
dup_x1
putfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.doubleFieldValueListener:Ljavafx/beans/InvalidationListener;
invokevirtual javafx.beans.property.DoubleProperty.addListener:(Ljavafx/beans/InvalidationListener;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
0 3 1 control Lcom/sun/javafx/scene/control/DoubleField;
MethodParameters:
Name Flags
control final
public com.sun.javafx.scene.control.DoubleField getSkinnable();
descriptor: ()Lcom/sun/javafx/scene/control/DoubleField;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.control:Lcom/sun/javafx/scene/control/InputField;
checkcast com.sun.javafx.scene.control.DoubleField
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
public javafx.scene.Node getNode();
descriptor: ()Ljavafx/scene/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.scene.control.skin.DoubleFieldSkin.getTextField:()Ljavafx/scene/control/TextField;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.control:Lcom/sun/javafx/scene/control/InputField;
checkcast com.sun.javafx.scene.control.DoubleField
invokevirtual com.sun.javafx.scene.control.DoubleField.valueProperty:()Ljavafx/beans/property/DoubleProperty;
aload 0
getfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.doubleFieldValueListener:Ljavafx/beans/InvalidationListener;
invokevirtual javafx.beans.property.DoubleProperty.removeListener:(Ljavafx/beans/InvalidationListener;)V
1: aload 0
invokespecial com.sun.javafx.scene.control.skin.InputFieldSkin.dispose:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
protected boolean accept(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
ifne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ldc "[0-9\\.]*"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifeq 5
2: aload 1
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
pop2
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
0 6 1 text Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
text
protected void updateText();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.scene.control.skin.DoubleFieldSkin.getTextField:()Ljavafx/scene/control/TextField;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.control:Lcom/sun/javafx/scene/control/InputField;
checkcast com.sun.javafx.scene.control.DoubleField
invokevirtual com.sun.javafx.scene.control.DoubleField.getValue:()D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javafx.scene.control.TextField.setText:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
protected void updateValue();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.control:Lcom/sun/javafx/scene/control/InputField;
checkcast com.sun.javafx.scene.control.DoubleField
invokevirtual com.sun.javafx.scene.control.DoubleField.getValue:()D
dstore 1
start local 1 1: aload 0
invokevirtual com.sun.javafx.scene.control.skin.DoubleFieldSkin.getTextField:()Ljavafx/scene/control/TextField;
invokevirtual javafx.scene.control.TextField.getText:()Ljava/lang/String;
ifnonnull 2
ldc ""
goto 3
StackMap locals: double
StackMap stack:
2: aload 0
invokevirtual com.sun.javafx.scene.control.skin.DoubleFieldSkin.getTextField:()Ljavafx/scene/control/TextField;
invokevirtual javafx.scene.control.TextField.getText:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: astore 5
start local 5 4: aload 5
invokestatic java.lang.Double.parseDouble:(Ljava/lang/String;)D
dstore 3
start local 3 5: dload 3
dload 1
dcmpl
ifeq 11
6: aload 0
getfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.control:Lcom/sun/javafx/scene/control/InputField;
checkcast com.sun.javafx.scene.control.DoubleField
dload 3
invokevirtual com.sun.javafx.scene.control.DoubleField.setValue:(D)V
7: goto 11
end local 3 StackMap locals: com.sun.javafx.scene.control.skin.DoubleFieldSkin double top top java.lang.String
StackMap stack: java.lang.NumberFormatException
8: pop
9: aload 0
getfield com.sun.javafx.scene.control.skin.DoubleFieldSkin.control:Lcom/sun/javafx/scene/control/InputField;
checkcast com.sun.javafx.scene.control.DoubleField
dconst_0
invokevirtual com.sun.javafx.scene.control.DoubleField.setValue:(D)V
10: aload 0
invokedynamic run(Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/sun/javafx/scene/control/skin/DoubleFieldSkin.lambda$1()V (7)
()V
invokestatic javafx.application.Platform.runLater:(Ljava/lang/Runnable;)V
11: StackMap locals:
StackMap stack:
return
end local 5 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
1 12 1 value D
5 8 3 newValue D
4 12 5 text Ljava/lang/String;
Exception table:
from to target type
4 7 8 Class java.lang.NumberFormatException
public com.sun.javafx.scene.control.InputField getSkinnable();
descriptor: ()Lcom/sun/javafx/scene/control/InputField;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.javafx.scene.control.skin.DoubleFieldSkin.getSkinnable:()Lcom/sun/javafx/scene/control/DoubleField;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(javafx.beans.Observable);
descriptor: (Ljavafx/beans/Observable;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.javafx.scene.control.skin.DoubleFieldSkin.updateText:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
0 2 1 observable Ljavafx/beans/Observable;
private void lambda$1();
descriptor: ()V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.javafx.scene.control.skin.DoubleFieldSkin.getTextField:()Ljavafx/scene/control/TextField;
iconst_1
invokevirtual javafx.scene.control.TextField.positionCaret:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/javafx/scene/control/skin/DoubleFieldSkin;
}
SourceFile: "DoubleFieldSkin.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles