public class org.apache.xpath.objects.XNumber extends org.apache.xpath.objects.XObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.objects.XNumber
super_class: org.apache.xpath.objects.XObject
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2720400709619020193
double m_val;
descriptor: D
flags: (0x0000)
public void <init>(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.xpath.objects.XObject.<init>:()V
1: aload 0
dload 1
putfield org.apache.xpath.objects.XNumber.m_val:D
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/objects/XNumber;
0 3 1 d D
MethodParameters:
Name Flags
d
public void <init>(java.lang.Number);
descriptor: (Ljava/lang/Number;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.xpath.objects.XObject.<init>:()V
1: aload 0
aload 1
invokevirtual java.lang.Number.doubleValue:()D
putfield org.apache.xpath.objects.XNumber.m_val:D
2: aload 0
aload 1
invokevirtual org.apache.xpath.objects.XNumber.setObject:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/objects/XNumber;
0 4 1 num Ljava/lang/Number;
MethodParameters:
Name Flags
num
public int getType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XNumber;
public java.lang.String getTypeString();
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 Lorg/apache/xpath/objects/XNumber;
public double num();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XNumber;
public double num(org.apache.xpath.XPathContext);
descriptor: (Lorg/apache/xpath/XPathContext;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XNumber;
0 1 1 xctxt Lorg/apache/xpath/XPathContext;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
public boolean bool();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
invokestatic java.lang.Double.isNaN:(D)Z
ifne 1
aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
dconst_0
dcmpl
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/objects/XNumber;
public java.lang.String str();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 2
1: ldc "NaN"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 6
3: aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
dconst_0
dcmpl
ifle 5
4: ldc "Infinity"
areturn
5: StackMap locals:
StackMap stack:
ldc "-Infinity"
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
dstore 1
start local 1 7: dload 1
invokestatic java.lang.Double.toString:(D)Ljava/lang/String;
astore 3
start local 3 8: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 9: aload 3
iload 4
iconst_2
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpne 14
aload 3
iload 4
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 48
if_icmpne 14
10: aload 3
iconst_0
iload 4
iconst_2
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
11: aload 3
ldc "-0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
12: ldc "0"
areturn
13: StackMap locals: double java.lang.String int
StackMap stack:
aload 3
areturn
14: StackMap locals:
StackMap stack:
aload 3
bipush 69
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 15: iload 5
ifge 19
16: aload 3
iload 4
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 48
if_icmpne 18
17: aload 3
iconst_0
iload 4
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
18: StackMap locals: int
StackMap stack:
aload 3
areturn
19: StackMap locals:
StackMap stack:
aload 3
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 6
start local 6 20: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 25
21: ldc "-"
astore 7
start local 7 22: aload 3
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
23: iinc 5 -1
24: goto 26
end local 7 25: StackMap locals: int
StackMap stack:
ldc ""
astore 7
start local 7 26: StackMap locals: java.lang.String
StackMap stack:
iload 5
iconst_2
isub
istore 8
start local 8 27: iload 6
iload 8
if_icmplt 32
28: new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iconst_0
iconst_1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_2
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: iload 6
iload 8
isub
invokestatic org.apache.xpath.objects.XNumber.zeros:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
30: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
31: StackMap locals: int
StackMap stack:
iinc 5 -1
32: StackMap locals:
StackMap stack:
aload 3
iload 5
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 48
if_icmpeq 31
33: iload 6
ifle 37
34: new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
iconst_0
iconst_1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_2
iconst_2
iload 6
iadd
invokevirtual java.lang.String.substring:(II)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;
35: aload 3
iconst_2
iload 6
iadd
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
36: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
37: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 7
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "0."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iconst_m1
iload 6
isub
invokestatic org.apache.xpath.objects.XNumber.zeros:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
iconst_0
iconst_1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
38: aload 3
iconst_2
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
39: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lorg/apache/xpath/objects/XNumber;
7 40 1 num D
8 40 3 s Ljava/lang/String;
9 40 4 len I
15 40 5 e I
20 40 6 exp I
22 25 7 sign Ljava/lang/String;
26 40 7 sign Ljava/lang/String;
27 40 8 nDigits I
private static java.lang.String zeros(int);
descriptor: (I)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iload 0
iconst_1
if_icmpge 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
iload 0
newarray 5
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: char[] int
StackMap stack:
aload 1
iload 2
bipush 48
castore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 0
if_icmplt 5
end local 2 8: new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:([C)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 n I
3 9 1 buf [C
4 8 2 i I
MethodParameters:
Name Flags
n
public java.lang.Object object();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.objects.XNumber.m_obj:Ljava/lang/Object;
ifnonnull 2
1: aload 0
new java.lang.Double
dup
aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
invokespecial java.lang.Double.<init>:(D)V
invokevirtual org.apache.xpath.objects.XNumber.setObject:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.objects.XNumber.m_obj:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/objects/XNumber;
public boolean equals(org.apache.xpath.objects.XObject);
descriptor: (Lorg/apache/xpath/objects/XObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.xpath.objects.XObject.getType:()I
istore 2
start local 2 1: iload 2
iconst_4
if_icmpne 4
2: aload 1
aload 0
invokevirtual org.apache.xpath.objects.XObject.equals:(Lorg/apache/xpath/objects/XObject;)Z
3: ireturn
4: StackMap locals: int
StackMap stack:
iload 2
iconst_1
if_icmpne 8
5: aload 1
invokevirtual org.apache.xpath.objects.XObject.bool:()Z
aload 0
invokevirtual org.apache.xpath.objects.XNumber.bool:()Z
if_icmpne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
7: ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.objects.XNumber.m_val:D
aload 1
invokevirtual org.apache.xpath.objects.XObject.num:()D
dcmpl
ifne 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
10: ireturn
11: StackMap locals:
StackMap stack: javax.xml.transform.TransformerException
astore 3
start local 3 12: new org.apache.xml.utils.WrappedRuntimeException
dup
aload 3
invokespecial org.apache.xml.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/xpath/objects/XNumber;
0 13 1 obj2 Lorg/apache/xpath/objects/XObject;
1 13 2 t I
12 13 3 te Ljavax/xml/transform/TransformerException;
Exception table:
from to target type
1 3 11 Class javax.xml.transform.TransformerException
4 7 11 Class javax.xml.transform.TransformerException
8 10 11 Class javax.xml.transform.TransformerException
MethodParameters:
Name Flags
obj2
public boolean isStableNumber();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/objects/XNumber;
public void callVisitors(org.apache.xpath.ExpressionOwner, org.apache.xpath.XPathVisitor);
descriptor: (Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
aload 0
invokevirtual org.apache.xpath.XPathVisitor.visitNumberLiteral:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/objects/XNumber;)Z
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/objects/XNumber;
0 2 1 owner Lorg/apache/xpath/ExpressionOwner;
0 2 2 visitor Lorg/apache/xpath/XPathVisitor;
MethodParameters:
Name Flags
owner
visitor
}
SourceFile: "XNumber.java"