public class org.apache.xpath.functions.FuncLast extends org.apache.xpath.functions.Function
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.functions.FuncLast
super_class: org.apache.xpath.functions.Function
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 9205812403085432943
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 org.apache.xpath.functions.Function.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/functions/FuncLast;
public void postCompileStep(org.apache.xpath.compiler.Compiler);
descriptor: (Lorg/apache/xpath/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 org.apache.xpath.compiler.Compiler.getLocationPathDepth:()I
iconst_m1
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.apache.xpath.functions.FuncLast
1: iconst_0
StackMap locals: org.apache.xpath.functions.FuncLast org.apache.xpath.compiler.Compiler
StackMap stack: org.apache.xpath.functions.FuncLast int
2: putfield org.apache.xpath.functions.FuncLast.m_isTopLevel:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/functions/FuncLast;
0 4 1 compiler Lorg/apache/xpath/compiler/Compiler;
MethodParameters:
Name Flags
compiler
public int getCountOfContextNodeList(org.apache.xpath.XPathContext);
descriptor: (Lorg/apache/xpath/XPathContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xpath.functions.FuncLast.m_isTopLevel:Z
ifeq 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual org.apache.xpath.XPathContext.getSubContextList:()Lorg/apache/xpath/axes/SubContextList;
StackMap locals:
StackMap stack: org.apache.xpath.axes.SubContextList
2: astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
aload 1
invokeinterface org.apache.xpath.axes.SubContextList.getLastPos:(Lorg/apache/xpath/XPathContext;)I
ireturn
5: StackMap locals: org.apache.xpath.axes.SubContextList
StackMap stack:
aload 1
invokevirtual org.apache.xpath.XPathContext.getContextNodeList:()Lorg/apache/xml/dtm/DTMIterator;
astore 3
start local 3 6: aload 3
ifnull 9
7: aload 3
invokeinterface org.apache.xml.dtm.DTMIterator.getLength:()I
istore 4
start local 4 8: goto 10
end local 4 9: StackMap locals: org.apache.xml.dtm.DTMIterator
StackMap stack:
iconst_0
istore 4
start local 4 10: StackMap locals: int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/xpath/functions/FuncLast;
0 11 1 xctxt Lorg/apache/xpath/XPathContext;
3 11 2 iter Lorg/apache/xpath/axes/SubContextList;
6 11 3 cnl Lorg/apache/xml/dtm/DTMIterator;
8 9 4 count I
10 11 4 count I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext);
descriptor: (Lorg/apache/xpath/XPathContext;)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.xpath.objects.XNumber
dup
aload 0
aload 1
invokevirtual org.apache.xpath.functions.FuncLast.getCountOfContextNodeList:(Lorg/apache/xpath/XPathContext;)I
i2d
invokespecial org.apache.xpath.objects.XNumber.<init>:(D)V
astore 2
start local 2 1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/functions/FuncLast;
0 2 1 xctxt Lorg/apache/xpath/XPathContext;
1 2 2 xnum Lorg/apache/xpath/objects/XNumber;
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
public void fixupVariables(java.util.Vector, int);
descriptor: (Ljava/util/Vector;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 Lorg/apache/xpath/functions/FuncLast;
0 1 1 vars Ljava/util/Vector;
0 1 2 globalsSize I
MethodParameters:
Name Flags
vars
globalsSize
}
SourceFile: "FuncLast.java"