public class com.sun.org.apache.xpath.internal.functions.FuncPosition extends com.sun.org.apache.xpath.internal.functions.Function
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.functions.FuncPosition
super_class: com.sun.org.apache.xpath.internal.functions.Function
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -9092846348197271582
private boolean m_isTopLevel;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xpath.internal.functions.Function.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncPosition;
public void postCompileStep(com.sun.org.apache.xpath.internal.compiler.Compiler);
descriptor: (Lcom/sun/org/apache/xpath/internal/compiler/Compiler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.xpath.internal.compiler.Compiler.getLocationPathDepth:()I
iconst_m1
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: com.sun.org.apache.xpath.internal.functions.FuncPosition
1: iconst_0
StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncPosition com.sun.org.apache.xpath.internal.compiler.Compiler
StackMap stack: com.sun.org.apache.xpath.internal.functions.FuncPosition int
2: putfield com.sun.org.apache.xpath.internal.functions.FuncPosition.m_isTopLevel:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncPosition;
0 4 1 compiler Lcom/sun/org/apache/xpath/internal/compiler/Compiler;
MethodParameters:
Name Flags
compiler
public int getPositionInContextNodeList(com.sun.org.apache.xpath.internal.XPathContext);
descriptor: (Lcom/sun/org/apache/xpath/internal/XPathContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xpath.internal.functions.FuncPosition.m_isTopLevel:Z
ifeq 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getSubContextList:()Lcom/sun/org/apache/xpath/internal/axes/SubContextList;
StackMap locals:
StackMap stack: com.sun.org.apache.xpath.internal.axes.SubContextList
2: astore 2
start local 2 3: aload 2
ifnull 6
4: aload 2
aload 1
invokeinterface com.sun.org.apache.xpath.internal.axes.SubContextList.getProximityPosition:(Lcom/sun/org/apache/xpath/internal/XPathContext;)I
istore 3
start local 3 5: iload 3
ireturn
end local 3 6: StackMap locals: com.sun.org.apache.xpath.internal.axes.SubContextList
StackMap stack:
aload 1
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getContextNodeList:()Lcom/sun/org/apache/xml/internal/dtm/DTMIterator;
astore 3
start local 3 7: aload 3
ifnull 22
8: aload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.getCurrentNode:()I
istore 4
start local 4 9: iload 4
iconst_m1
if_icmpne 21
10: aload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.getCurrentPos:()I
ifne 12
11: iconst_0
ireturn
12: StackMap locals: com.sun.org.apache.xml.internal.dtm.DTMIterator int
StackMap stack:
aload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.cloneWithReset:()Lcom/sun/org/apache/xml/internal/dtm/DTMIterator;
astore 3
13: goto 16
14: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 5
start local 5 15: new com.sun.org.apache.xml.internal.utils.WrappedRuntimeException
dup
aload 5
invokespecial com.sun.org.apache.xml.internal.utils.WrappedRuntimeException.<init>:(Ljava/lang/Exception;)V
athrow
end local 5 16: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getContextNode:()I
istore 5
start local 5 17: goto 20
18: StackMap locals: int
StackMap stack:
iload 4
iload 5
if_icmpne 20
19: goto 21
20: StackMap locals:
StackMap stack:
iconst_m1
aload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.nextNode:()I
dup
istore 4
if_icmpne 18
end local 5 21: StackMap locals:
StackMap stack:
aload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.getCurrentPos:()I
ireturn
end local 4 22: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncPosition;
0 23 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
3 23 2 iter Lcom/sun/org/apache/xpath/internal/axes/SubContextList;
5 6 3 prox I
7 23 3 cnl Lcom/sun/org/apache/xml/internal/dtm/DTMIterator;
9 22 4 n I
15 16 5 cnse Ljava/lang/CloneNotSupportedException;
17 21 5 currentNode I
Exception table:
from to target type
12 13 14 Class java.lang.CloneNotSupportedException
MethodParameters:
Name Flags
xctxt
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=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncPosition.getPositionInContextNodeList:(Lcom/sun/org/apache/xpath/internal/XPathContext;)I
i2d
dstore 2
start local 2 1: new com.sun.org.apache.xpath.internal.objects.XNumber
dup
dload 2
invokespecial com.sun.org.apache.xpath.internal.objects.XNumber.<init>:(D)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncPosition;
0 2 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
1 2 2 pos D
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
public void fixupVariables(java.util.List<com.sun.org.apache.xml.internal.utils.QName>, );
descriptor: (Ljava/util/List;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncPosition;
0 1 1 vars Ljava/util/List<Lcom/sun/org/apache/xml/internal/utils/QName;>;
0 1 2 globalsSize I
Signature: (Ljava/util/List<Lcom/sun/org/apache/xml/internal/utils/QName;>;I)V
MethodParameters:
Name Flags
vars
globalsSize
}
SourceFile: "FuncPosition.java"