public class com.sun.org.apache.xpath.internal.functions.FuncSum extends com.sun.org.apache.xpath.internal.functions.FunctionOneArg
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.functions.FuncSum
super_class: com.sun.org.apache.xpath.internal.functions.FunctionOneArg
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2719049259574677519
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncSum this
0: .line 35
aload 0 /* this */
invokespecial com.sun.org.apache.xpath.internal.functions.FunctionOneArg.<init>:()V
return
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncSum this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncSum;
public com.sun.org.apache.xpath.internal.objects.XObject execute(com.sun.org.apache.xpath.internal.XPathContext);
descriptor: (Lcom/sun/org/apache/xpath/internal/XPathContext;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncSum this
start local 1 // com.sun.org.apache.xpath.internal.XPathContext xctxt
0: .line 50
aload 0 /* this */
getfield com.sun.org.apache.xpath.internal.functions.FuncSum.m_arg0:Lcom/sun/org/apache/xpath/internal/Expression;
aload 1 /* xctxt */
aload 1 /* xctxt */
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getCurrentNode:()I
invokevirtual com.sun.org.apache.xpath.internal.Expression.asIterator:(Lcom/sun/org/apache/xpath/internal/XPathContext;I)Lcom/sun/org/apache/xml/internal/dtm/DTMIterator;
astore 2 /* nodes */
start local 2 // com.sun.org.apache.xml.internal.dtm.DTMIterator nodes
1: .line 51
dconst_0
dstore 3 /* sum */
start local 3 // double sum
2: .line 54
goto 7
start local 5 // int pos
3: .line 56
StackMap locals: com.sun.org.apache.xml.internal.dtm.DTMIterator double int
StackMap stack:
aload 2 /* nodes */
iload 5 /* pos */
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.getDTM:(I)Lcom/sun/org/apache/xml/internal/dtm/DTM;
astore 6 /* dtm */
start local 6 // com.sun.org.apache.xml.internal.dtm.DTM dtm
4: .line 57
aload 6 /* dtm */
iload 5 /* pos */
invokeinterface com.sun.org.apache.xml.internal.dtm.DTM.getStringValue:(I)Lcom/sun/org/apache/xml/internal/utils/XMLString;
astore 7 /* s */
start local 7 // com.sun.org.apache.xml.internal.utils.XMLString s
5: .line 59
aload 7 /* s */
ifnull 7
6: .line 60
dload 3 /* sum */
aload 7 /* s */
invokeinterface com.sun.org.apache.xml.internal.utils.XMLString.toDouble:()D
dadd
dstore 3 /* sum */
end local 7 // com.sun.org.apache.xml.internal.utils.XMLString s
end local 6 // com.sun.org.apache.xml.internal.dtm.DTM dtm
end local 5 // int pos
7: .line 54
StackMap locals:
StackMap stack:
iconst_m1
aload 2 /* nodes */
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.nextNode:()I
dup
istore 5 /* pos */
start local 5 // int pos
8: if_icmpne 3
9: .line 62
aload 2 /* nodes */
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.detach:()V
10: .line 64
new com.sun.org.apache.xpath.internal.objects.XNumber
dup
dload 3 /* sum */
invokespecial com.sun.org.apache.xpath.internal.objects.XNumber.<init>:(D)V
areturn
end local 5 // int pos
end local 3 // double sum
end local 2 // com.sun.org.apache.xml.internal.dtm.DTMIterator nodes
end local 1 // com.sun.org.apache.xpath.internal.XPathContext xctxt
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncSum this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncSum;
0 11 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
1 11 2 nodes Lcom/sun/org/apache/xml/internal/dtm/DTMIterator;
2 11 3 sum D
3 7 5 pos I
8 11 5 pos I
4 7 6 dtm Lcom/sun/org/apache/xml/internal/dtm/DTM;
5 7 7 s Lcom/sun/org/apache/xml/internal/utils/XMLString;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
}
SourceFile: "FuncSum.java"