public final class jdk.nashorn.internal.objects.NativeNumber extends jdk.nashorn.internal.runtime.ScriptObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.objects.NativeNumber
super_class: jdk.nashorn.internal.runtime.ScriptObject
{
static final java.lang.invoke.MethodHandle WRAPFILTER;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle PROTOFILTER;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final double MAX_VALUE;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1.7976931348623157E308
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property(attributes = 7, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
public static final double MIN_VALUE;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4.9E-324
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property(attributes = 7, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
public static final double NaN;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: NaN
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property(attributes = 7, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
public static final double NEGATIVE_INFINITY;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -Infinity
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property(attributes = 7, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
public static final double POSITIVE_INFINITY;
descriptor: D
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: Infinity
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property(attributes = 7, where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;)
private final double value;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/objects/NativeNumber;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.objects.NativeNumber.$assertionsDisabled:Z
3: ldc "wrapFilter"
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
ldc Ljdk/nashorn/internal/objects/NativeNumber;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokestatic jdk.nashorn.internal.objects.NativeNumber.findOwnMH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeNumber.WRAPFILTER:Ljava/lang/invoke/MethodHandle;
4: ldc "protoFilter"
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokestatic jdk.nashorn.internal.objects.NativeNumber.findOwnMH:(Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeNumber.PROTOFILTER:Ljava/lang/invoke/MethodHandle;
5: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(double, jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.PropertyMap);
descriptor: (DLjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
aload 3
aload 4
invokespecial jdk.nashorn.internal.runtime.ScriptObject.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: aload 0
dload 1
putfield jdk.nashorn.internal.objects.NativeNumber.value:D
2: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/NativeNumber;
0 3 1 value D
0 3 3 proto Ljdk/nashorn/internal/runtime/ScriptObject;
0 3 4 map Ljdk/nashorn/internal/runtime/PropertyMap;
MethodParameters:
Name Flags
value final
proto final
map final
void <init>(double, jdk.nashorn.internal.objects.Global);
descriptor: (DLjdk/nashorn/internal/objects/Global;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dload 1
aload 3
invokevirtual jdk.nashorn.internal.objects.Global.getNumberPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
getstatic jdk.nashorn.internal.objects.NativeNumber.$nasgenmap$:Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.objects.NativeNumber.<init>:(DLjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeNumber;
0 2 1 value D
0 2 3 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
value final
global final
private void <init>(double);
descriptor: (D)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dload 1
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokespecial jdk.nashorn.internal.objects.NativeNumber.<init>:(DLjdk/nashorn/internal/objects/Global;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeNumber;
0 2 1 value D
MethodParameters:
Name Flags
value final
public java.lang.String safeToString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "[Number "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.nashorn.internal.objects.NativeNumber.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeNumber;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeNumber.getValue:()D
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeNumber;
public double getValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeNumber.doubleValue:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeNumber;
public double doubleValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeNumber.value:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeNumber;
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "Number"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeNumber;
public static java.lang.Object constructor(boolean, java.lang.Object, java.lang.Object[]);
descriptor: (ZLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
ifle 1
aload 2
iconst_0
aaload
invokestatic jdk.nashorn.internal.runtime.JSType.toNumber:(Ljava/lang/Object;)D
goto 2
StackMap locals:
StackMap stack:
1: dconst_0
StackMap locals:
StackMap stack: double
2: dstore 3
start local 3 3: iload 0
ifeq 4
new jdk.nashorn.internal.objects.NativeNumber
dup
dload 3
invokespecial jdk.nashorn.internal.objects.NativeNumber.<init>:(D)V
goto 5
StackMap locals: double
StackMap stack:
4: dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
StackMap locals:
StackMap stack: java.lang.Object
5: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 newObj Z
0 6 1 self Ljava/lang/Object;
0 6 2 args [Ljava/lang/Object;
3 6 3 num D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Constructor(arity = 1)
MethodParameters:
Name Flags
newObj final
self final
args final
public static java.lang.String toFixed(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
invokestatic jdk.nashorn.internal.objects.NativeNumber.toFixed:(Ljava/lang/Object;I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 fractionDigits Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
fractionDigits final
public static java.lang.String toFixed(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
bipush 20
if_icmple 2
1: StackMap locals:
StackMap stack:
ldc "invalid.fraction.digits"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "toFixed"
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
dstore 2
start local 2 3: dload 2
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 5
4: ldc "NaN"
areturn
5: StackMap locals: double
StackMap stack:
dload 2
invokestatic java.lang.Math.abs:(D)D
ldc 1.0E21
dcmpl
iflt 7
6: dload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(D)Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
dload 2
iload 1
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.toFixed:(DI)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 self Ljava/lang/Object;
0 8 1 fractionDigits I
3 8 2 x D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.SpecializedFunction()
MethodParameters:
Name Flags
self final
fractionDigits final
public static java.lang.String toExponential(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
dstore 2
start local 2 1: aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpne 2
iconst_1
goto 3
StackMap locals: double
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: iload 4
ifeq 5
bipush 16
goto 6
StackMap locals: int
StackMap stack:
5: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
StackMap locals:
StackMap stack: int
6: istore 5
start local 5 7: dload 2
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 9
8: ldc "NaN"
areturn
9: StackMap locals: int
StackMap stack:
dload 2
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 13
10: dload 2
dconst_0
dcmpl
ifle 11
ldc "Infinity"
goto 12
StackMap locals:
StackMap stack:
11: ldc "-Infinity"
StackMap locals:
StackMap stack: java.lang.String
12: areturn
13: StackMap locals:
StackMap stack:
aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 15
iload 5
iflt 14
iload 5
bipush 20
if_icmple 15
14: StackMap locals:
StackMap stack:
ldc "invalid.fraction.digits"
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "toExponential"
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
15: StackMap locals:
StackMap stack:
getstatic java.util.Locale.US:Ljava/util/Locale;
new java.lang.StringBuilder
dup
ldc "%1."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "e"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
dload 2
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 6
start local 6 16: aload 6
iload 4
invokestatic jdk.nashorn.internal.objects.NativeNumber.fixExponent:(Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 self Ljava/lang/Object;
0 17 1 fractionDigits Ljava/lang/Object;
1 17 2 x D
4 17 4 trimZeros Z
7 17 5 f I
16 17 6 res Ljava/lang/String;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
fractionDigits final
public static java.lang.String toPrecision(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
dstore 2
start local 2 1: aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpne 3
2: dload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(D)Ljava/lang/String;
areturn
3: StackMap locals: double
StackMap stack:
dload 2
aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
invokestatic jdk.nashorn.internal.objects.NativeNumber.toPrecision:(DI)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
0 4 1 precision Ljava/lang/Object;
1 4 2 x D
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
precision final
public static java.lang.String toPrecision(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
iload 1
invokestatic jdk.nashorn.internal.objects.NativeNumber.toPrecision:(DI)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 precision I
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.SpecializedFunction()
MethodParameters:
Name Flags
self final
precision final
private static java.lang.String toPrecision(double, int);
descriptor: (DI)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 2 0: dload 0
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
1: ldc "NaN"
areturn
2: StackMap locals:
StackMap stack:
dload 0
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 6
3: dload 0
dconst_0
dcmpl
ifle 4
ldc "Infinity"
goto 5
StackMap locals:
StackMap stack:
4: ldc "-Infinity"
StackMap locals:
StackMap stack: java.lang.String
5: areturn
6: StackMap locals:
StackMap stack:
iload 2
iconst_1
if_icmplt 7
iload 2
bipush 21
if_icmple 8
7: StackMap locals:
StackMap stack:
ldc "invalid.precision"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
8: StackMap locals:
StackMap stack:
dload 0
dconst_0
dcmpl
ifne 10
iload 2
iconst_1
if_icmpgt 10
9: ldc "0"
areturn
10: StackMap locals:
StackMap stack:
dload 0
iload 2
invokestatic jdk.nashorn.internal.runtime.doubleconv.DoubleConversion.toPrecision:(DI)Ljava/lang/String;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 x D
0 11 2 p I
MethodParameters:
Name Flags
x final
p final
public static java.lang.String toString(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 6
1: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
istore 2
start local 2 2: iload 2
bipush 10
if_icmpeq 6
3: iload 2
iconst_2
if_icmplt 4
iload 2
bipush 36
if_icmple 5
4: StackMap locals: int
StackMap stack:
ldc "invalid.radix"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
5: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
iload 2
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(DI)Ljava/lang/String;
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(D)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 self Ljava/lang/Object;
0 7 1 radix Ljava/lang/Object;
2 6 2 intRadix I
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
radix final
public static java.lang.String toLocaleString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(D)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static double valueOf(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeNumber.getNumberValue:(Ljava/lang/Object;)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static jdk.dynalink.linker.GuardedInvocation lookupPrimitive(jdk.dynalink.linker.LinkRequest, java.lang.Object);
descriptor: (Ljdk/dynalink/linker/LinkRequest;Ljava/lang/Object;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.runtime.linker.NashornGuards.getNumberGuard:()Ljava/lang/invoke/MethodHandle;
new jdk.nashorn.internal.objects.NativeNumber
dup
aload 1
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
invokespecial jdk.nashorn.internal.objects.NativeNumber.<init>:(D)V
getstatic jdk.nashorn.internal.objects.NativeNumber.WRAPFILTER:Ljava/lang/invoke/MethodHandle;
getstatic jdk.nashorn.internal.objects.NativeNumber.PROTOFILTER:Ljava/lang/invoke/MethodHandle;
invokestatic jdk.nashorn.internal.runtime.linker.PrimitiveLookup.lookupPrimitive:(Ljdk/dynalink/linker/LinkRequest;Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljdk/dynalink/linker/GuardedInvocation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 request Ljdk/dynalink/linker/LinkRequest;
0 1 1 receiver Ljava/lang/Object;
MethodParameters:
Name Flags
request final
receiver final
private static jdk.nashorn.internal.objects.NativeNumber wrapFilter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeNumber;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new jdk.nashorn.internal.objects.NativeNumber
dup
aload 0
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
invokespecial jdk.nashorn.internal.objects.NativeNumber.<init>:(D)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 receiver Ljava/lang/Object;
MethodParameters:
Name Flags
receiver final
private static java.lang.Object protoFilter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getNumberPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 object Ljava/lang/Object;
MethodParameters:
Name Flags
object final
private static double getNumberValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
instanceof java.lang.Number
ifeq 2
1: aload 0
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dreturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.objects.NativeNumber
ifeq 4
3: aload 0
checkcast jdk.nashorn.internal.objects.NativeNumber
invokevirtual jdk.nashorn.internal.objects.NativeNumber.getValue:()D
dreturn
4: StackMap locals:
StackMap stack:
aload 0
ifnull 6
aload 0
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getNumberPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
if_acmpne 6
5: dconst_0
dreturn
6: StackMap locals:
StackMap stack:
ldc "not.a.number"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 self Ljava/lang/Object;
MethodParameters:
Name Flags
self final
private static java.lang.String fixExponent(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
bipush 101
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 1: iload 2
iconst_1
if_icmpge 3
2: aload 0
areturn
3: StackMap locals: int
StackMap stack:
aload 0
iload 2
iconst_2
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 48
if_icmpne 4
iconst_3
goto 5
StackMap locals:
StackMap stack:
4: iconst_2
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 2
istore 4
start local 4 7: iload 1
ifeq 13
8: getstatic jdk.nashorn.internal.objects.NativeNumber.$assertionsDisabled:Z
ifne 9
iload 4
ifgt 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals: int int
StackMap stack:
aload 0
iload 4
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 10: goto 12
11: StackMap locals: int
StackMap stack:
aload 0
iinc 4 -1
iload 4
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 5
12: StackMap locals:
StackMap stack:
iload 4
iconst_1
if_icmple 13
iload 5
bipush 48
if_icmpeq 11
iload 5
bipush 46
if_icmpeq 11
end local 5 13: StackMap locals:
StackMap stack:
iload 4
iload 2
if_icmplt 14
iload 3
iconst_3
if_icmpne 18
14: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 0
iload 2
iload 2
iconst_2
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: aload 0
iload 2
iload 3
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
18: StackMap locals:
StackMap stack:
aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 str Ljava/lang/String;
0 19 1 trimZeros Z
1 19 2 index I
6 19 3 expPadding I
7 19 4 fractionOffset I
10 13 5 c C
MethodParameters:
Name Flags
str final
trimZeros final
private static java.lang.invoke.MethodHandle findOwnMH(java.lang.String, java.lang.invoke.MethodType);
descriptor: (Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/objects/NativeNumber;
aload 0
aload 1
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findStatic:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
name final
type final
}
SourceFile: "NativeNumber.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.ScriptClass(value = "Number")