public class com.sun.org.apache.xpath.internal.functions.FuncLast 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.FuncLast
super_class: com.sun.org.apache.xpath.internal.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 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/FuncLast;
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.FuncLast
1: iconst_0
StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncLast com.sun.org.apache.xpath.internal.compiler.Compiler
StackMap stack: com.sun.org.apache.xpath.internal.functions.FuncLast int
2: putfield com.sun.org.apache.xpath.internal.functions.FuncLast.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/FuncLast;
0 4 1 compiler Lcom/sun/org/apache/xpath/internal/compiler/Compiler;
MethodParameters:
Name Flags
compiler
public int getCountOfContextNodeList(com.sun.org.apache.xpath.internal.XPathContext);
descriptor: (Lcom/sun/org/apache/xpath/internal/XPathContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xpath.internal.functions.FuncLast.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 5
4: aload 2
aload 1
invokeinterface com.sun.org.apache.xpath.internal.axes.SubContextList.getLastPos:(Lcom/sun/org/apache/xpath/internal/XPathContext;)I
ireturn
5: 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 6: aload 3
ifnull 9
7: aload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTMIterator.getLength:()I
istore 4
start local 4 8: goto 10
end local 4 9: StackMap locals: com.sun.org.apache.xml.internal.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 Lcom/sun/org/apache/xpath/internal/functions/FuncLast;
0 11 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
3 11 2 iter Lcom/sun/org/apache/xpath/internal/axes/SubContextList;
6 11 3 cnl Lcom/sun/org/apache/xml/internal/dtm/DTMIterator;
8 9 4 count I
10 11 4 count I
Exceptions:
throws javax.xml.transform.TransformerException
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=3, args_size=2
start local 0 start local 1 0: new com.sun.org.apache.xpath.internal.objects.XNumber
dup
aload 0
aload 1
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncLast.getCountOfContextNodeList:(Lcom/sun/org/apache/xpath/internal/XPathContext;)I
i2d
invokespecial com.sun.org.apache.xpath.internal.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 Lcom/sun/org/apache/xpath/internal/functions/FuncLast;
0 2 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
1 2 2 xnum Lcom/sun/org/apache/xpath/internal/objects/XNumber;
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/FuncLast;
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: "FuncLast.java"