public class javafx.scene.chart.NumberAxis$DefaultFormatter extends javafx.util.StringConverter<java.lang.Number>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javafx.scene.chart.NumberAxis$DefaultFormatter
super_class: javafx.util.StringConverter
{
private java.text.DecimalFormat formatter;
descriptor: Ljava/text/DecimalFormat;
flags: (0x0002) ACC_PRIVATE
private java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String suffix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(javafx.scene.chart.NumberAxis);
descriptor: (Ljavafx/scene/chart/NumberAxis;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javafx.util.StringConverter.<init>:()V
1: aload 0
aconst_null
putfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
2: aload 0
aconst_null
putfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
3: aload 0
aload 1
invokevirtual javafx.scene.chart.NumberAxis.isAutoRanging:()Z
ifeq 4
new java.text.DecimalFormat
dup
aload 1
getfield javafx.scene.chart.NumberAxis.currentFormatterProperty:Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.get:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial java.text.DecimalFormat.<init>:(Ljava/lang/String;)V
goto 5
StackMap locals: javafx.scene.chart.NumberAxis$DefaultFormatter javafx.scene.chart.NumberAxis
StackMap stack: javafx.scene.chart.NumberAxis$DefaultFormatter
4: new java.text.DecimalFormat
dup
invokespecial java.text.DecimalFormat.<init>:()V
StackMap locals: javafx.scene.chart.NumberAxis$DefaultFormatter javafx.scene.chart.NumberAxis
StackMap stack: javafx.scene.chart.NumberAxis$DefaultFormatter java.text.DecimalFormat
5: putfield javafx.scene.chart.NumberAxis$DefaultFormatter.formatter:Ljava/text/DecimalFormat;
6: aload 0
aload 1
invokedynamic changed(Ljavafx/scene/chart/NumberAxis$DefaultFormatter;Ljavafx/scene/chart/NumberAxis;)Ljavafx/beans/value/ChangeListener;
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/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V
javafx/scene/chart/NumberAxis$DefaultFormatter.lambda$0(Ljavafx/scene/chart/NumberAxis;Ljavafx/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V (7)
(Ljavafx/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V
astore 2
start local 2 7: aload 1
getfield javafx.scene.chart.NumberAxis.currentFormatterProperty:Ljavafx/beans/property/StringProperty;
aload 2
invokevirtual javafx.beans.property.StringProperty.addListener:(Ljavafx/beans/value/ChangeListener;)V
8: aload 1
invokevirtual javafx.scene.chart.NumberAxis.autoRangingProperty:()Ljavafx/beans/property/BooleanProperty;
aload 2
invokevirtual javafx.beans.property.BooleanProperty.addListener:(Ljavafx/beans/value/ChangeListener;)V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavafx/scene/chart/NumberAxis$DefaultFormatter;
0 10 1 axis Ljavafx/scene/chart/NumberAxis;
7 10 2 axisListener Ljavafx/beans/value/ChangeListener<Ljava/lang/Object;>;
MethodParameters:
Name Flags
axis final
public void <init>(javafx.scene.chart.NumberAxis, java.lang.String, java.lang.String);
descriptor: (Ljavafx/scene/chart/NumberAxis;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial javafx.scene.chart.NumberAxis$DefaultFormatter.<init>:(Ljavafx/scene/chart/NumberAxis;)V
1: aload 0
aload 2
putfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
2: aload 0
aload 3
putfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/chart/NumberAxis$DefaultFormatter;
0 4 1 axis Ljavafx/scene/chart/NumberAxis;
0 4 2 prefix Ljava/lang/String;
0 4 3 suffix Ljava/lang/String;
MethodParameters:
Name Flags
axis
prefix
suffix
public java.lang.String toString(java.lang.Number);
descriptor: (Ljava/lang/Number;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.formatter:Ljava/text/DecimalFormat;
invokevirtual javafx.scene.chart.NumberAxis$DefaultFormatter.toString:(Ljava/lang/Number;Ljava/text/DecimalFormat;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavafx/scene/chart/NumberAxis$DefaultFormatter;
0 1 1 object Ljava/lang/Number;
MethodParameters:
Name Flags
object
private java.lang.String toString(java.lang.Number, java.lang.String);
descriptor: (Ljava/lang/Number;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.formatter:Ljava/text/DecimalFormat;
invokevirtual javafx.scene.chart.NumberAxis$DefaultFormatter.toString:(Ljava/lang/Number;Ljava/text/DecimalFormat;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
new java.text.DecimalFormat
dup
aload 2
invokespecial java.text.DecimalFormat.<init>:(Ljava/lang/String;)V
invokevirtual javafx.scene.chart.NumberAxis$DefaultFormatter.toString:(Ljava/lang/Number;Ljava/text/DecimalFormat;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavafx/scene/chart/NumberAxis$DefaultFormatter;
0 3 1 object Ljava/lang/Number;
0 3 2 numFormatter Ljava/lang/String;
MethodParameters:
Name Flags
object
numFormatter
private java.lang.String toString(java.lang.Number, java.text.DecimalFormat);
descriptor: (Ljava/lang/Number;Ljava/text/DecimalFormat;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
ifnull 2
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
ifnull 2
1: new java.lang.StringBuilder
dup
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
aload 1
invokevirtual java.text.DecimalFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
ifnull 4
3: new java.lang.StringBuilder
dup
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
aload 1
invokevirtual java.text.DecimalFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
ifnull 6
5: new java.lang.StringBuilder
dup
aload 2
aload 1
invokevirtual java.text.DecimalFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
6: StackMap locals:
StackMap stack:
aload 2
aload 1
invokevirtual java.text.DecimalFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavafx/scene/chart/NumberAxis$DefaultFormatter;
0 7 1 object Ljava/lang/Number;
0 7 2 formatter Ljava/text/DecimalFormat;
MethodParameters:
Name Flags
object
formatter
public java.lang.Number fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.prefix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
ifnonnull 4
iconst_0
goto 5
StackMap locals: int
StackMap stack:
4: aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.suffix:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: aload 0
getfield javafx.scene.chart.NumberAxis$DefaultFormatter.formatter:Ljava/text/DecimalFormat;
aload 1
iload 2
aload 1
invokevirtual java.lang.String.length:()I
iload 3
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.text.DecimalFormat.parse:(Ljava/lang/String;)Ljava/lang/Number;
7: areturn
end local 3 end local 2 8: StackMap locals: javafx.scene.chart.NumberAxis$DefaultFormatter java.lang.String
StackMap stack: java.text.ParseException
pop
9: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavafx/scene/chart/NumberAxis$DefaultFormatter;
0 10 1 string Ljava/lang/String;
3 8 2 prefixLength I
6 8 3 suffixLength I
Exception table:
from to target type
0 7 8 Class java.text.ParseException
MethodParameters:
Name Flags
string
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.Number
invokevirtual javafx.scene.chart.NumberAxis$DefaultFormatter.toString:(Ljava/lang/Number;)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.chart.NumberAxis$DefaultFormatter.fromString:(Ljava/lang/String;)Ljava/lang/Number;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(javafx.scene.chart.NumberAxis, javafx.beans.value.ObservableValue, java.lang.Object, java.lang.Object);
descriptor: (Ljavafx/scene/chart/NumberAxis;Ljavafx/beans/value/ObservableValue;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokevirtual javafx.scene.chart.NumberAxis.isAutoRanging:()Z
ifeq 1
new java.text.DecimalFormat
dup
aload 1
getfield javafx.scene.chart.NumberAxis.currentFormatterProperty:Ljavafx/beans/property/StringProperty;
invokevirtual javafx.beans.property.StringProperty.get:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial java.text.DecimalFormat.<init>:(Ljava/lang/String;)V
goto 2
StackMap locals:
StackMap stack: javafx.scene.chart.NumberAxis$DefaultFormatter
1: new java.text.DecimalFormat
dup
invokespecial java.text.DecimalFormat.<init>:()V
StackMap locals: javafx.scene.chart.NumberAxis$DefaultFormatter javafx.scene.chart.NumberAxis javafx.beans.value.ObservableValue java.lang.Object java.lang.Object
StackMap stack: javafx.scene.chart.NumberAxis$DefaultFormatter java.text.DecimalFormat
2: putfield javafx.scene.chart.NumberAxis$DefaultFormatter.formatter:Ljava/text/DecimalFormat;
3: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavafx/scene/chart/NumberAxis$DefaultFormatter;
0 4 2 observable Ljavafx/beans/value/ObservableValue<+Ljava/lang/Object;>;
0 4 3 oldValue Ljava/lang/Object;
0 4 4 newValue Ljava/lang/Object;
}
Signature: Ljavafx/util/StringConverter<Ljava/lang/Number;>;
SourceFile: "NumberAxis.java"
NestHost: javafx.scene.chart.NumberAxis
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public DefaultFormatter = javafx.scene.chart.NumberAxis$DefaultFormatter of javafx.scene.chart.NumberAxis