class javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3 extends javafx.util.StringConverter<java.lang.Double>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3
super_class: javafx.util.StringConverter
{
private final java.text.DecimalFormat df;
descriptor: Ljava/text/DecimalFormat;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory this$1;
descriptor: Ljavafx/scene/control/SpinnerValueFactory$DoubleSpinnerValueFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory);
descriptor: (Ljavafx/scene/control/SpinnerValueFactory$DoubleSpinnerValueFactory;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3.this$1:Ljavafx/scene/control/SpinnerValueFactory$DoubleSpinnerValueFactory;
aload 0
invokespecial javafx.util.StringConverter.<init>:()V
1: aload 0
new java.text.DecimalFormat
dup
ldc "#.##"
invokespecial java.text.DecimalFormat.<init>:(Ljava/lang/String;)V
putfield javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3.df:Ljava/text/DecimalFormat;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/control/SpinnerValueFactory$DoubleSpinnerValueFactory$3;
MethodParameters:
Name Flags
this$0 final
public java.lang.String toString(java.lang.Double);
descriptor: (Ljava/lang/Double;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3.df:Ljava/text/DecimalFormat;
aload 1
invokevirtual java.text.DecimalFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/control/SpinnerValueFactory$DoubleSpinnerValueFactory$3;
0 3 1 value Ljava/lang/Double;
MethodParameters:
Name Flags
value
public java.lang.Double fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Double;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
3: aload 1
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpge 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3.df:Ljava/text/DecimalFormat;
aload 1
invokevirtual java.text.DecimalFormat.parse:(Ljava/lang/String;)Ljava/lang/Number;
invokevirtual java.lang.Number.doubleValue:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
6: areturn
7: StackMap locals:
StackMap stack: java.text.ParseException
astore 2
start local 2 8: new java.lang.RuntimeException
dup
aload 2
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavafx/scene/control/SpinnerValueFactory$DoubleSpinnerValueFactory$3;
0 9 1 value Ljava/lang/String;
8 9 2 ex Ljava/text/ParseException;
Exception table:
from to target type
0 1 7 Class java.text.ParseException
2 4 7 Class java.text.ParseException
5 6 7 Class java.text.ParseException
MethodParameters:
Name Flags
value
public java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Double
invokevirtual javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3.toString:(Ljava/lang/Double;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3.fromString:(Ljava/lang/String;)Ljava/lang/Double;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljavafx/util/StringConverter<Ljava/lang/Double;>;
SourceFile: "SpinnerValueFactory.java"
EnclosingMethod: javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory.<init>:(DDDD)V
NestHost: javafx.scene.control.SpinnerValueFactory
InnerClasses:
public DoubleSpinnerValueFactory = javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory of javafx.scene.control.SpinnerValueFactory
javafx.scene.control.SpinnerValueFactory$DoubleSpinnerValueFactory$3