public class org.apache.xpath.patterns.FunctionPattern extends org.apache.xpath.patterns.StepPattern
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.patterns.FunctionPattern
super_class: org.apache.xpath.patterns.StepPattern
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -5426793413091209944
org.apache.xpath.Expression m_functionExpr;
descriptor: Lorg/apache/xpath/Expression;
flags: (0x0000)
public void <init>(org.apache.xpath.Expression, int, int);
descriptor: (Lorg/apache/xpath/Expression;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_0
aconst_null
aconst_null
iload 2
iload 3
invokespecial org.apache.xpath.patterns.StepPattern.<init>:(ILjava/lang/String;Ljava/lang/String;II)V
1: aload 0
aload 1
putfield org.apache.xpath.patterns.FunctionPattern.m_functionExpr:Lorg/apache/xpath/Expression;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/patterns/FunctionPattern;
0 3 1 expr Lorg/apache/xpath/Expression;
0 3 2 axis I
0 3 3 predaxis I
MethodParameters:
Name Flags
expr
axis
predaxis
public final void calcScore();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_OTHER:Lorg/apache/xpath/objects/XNumber;
putfield org.apache.xpath.patterns.FunctionPattern.m_score:Lorg/apache/xpath/objects/XNumber;
1: aload 0
getfield org.apache.xpath.patterns.FunctionPattern.m_targetString:Ljava/lang/String;
ifnonnull 3
2: aload 0
invokevirtual org.apache.xpath.patterns.FunctionPattern.calcTargetString:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/xpath/patterns/FunctionPattern;
public void fixupVariables(java.util.Vector, int);
descriptor: (Ljava/util/Vector;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial org.apache.xpath.patterns.StepPattern.fixupVariables:(Ljava/util/Vector;I)V
1: aload 0
getfield org.apache.xpath.patterns.FunctionPattern.m_functionExpr:Lorg/apache/xpath/Expression;
aload 1
iload 2
invokevirtual org.apache.xpath.Expression.fixupVariables:(Ljava/util/Vector;I)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/patterns/FunctionPattern;
0 3 1 vars Ljava/util/Vector;
0 3 2 globalsSize I
MethodParameters:
Name Flags
vars
globalsSize
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext, int);
descriptor: (Lorg/apache/xpath/XPathContext;I)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.xpath.patterns.FunctionPattern.m_functionExpr:Lorg/apache/xpath/Expression;
aload 1
iload 2
invokevirtual org.apache.xpath.Expression.asIterator:(Lorg/apache/xpath/XPathContext;I)Lorg/apache/xml/dtm/DTMIterator;
astore 3
start local 3 1: getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
astore 4
start local 4 2: aload 3
ifnull 12
3: goto 10
start local 5 4: StackMap locals: org.apache.xml.dtm.DTMIterator org.apache.xpath.objects.XNumber int
StackMap stack:
iload 5
iload 2
if_icmpne 5
getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_OTHER:Lorg/apache/xpath/objects/XNumber;
goto 6
StackMap locals:
StackMap stack:
5: getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
StackMap locals:
StackMap stack: org.apache.xpath.objects.XNumber
6: astore 4
7: aload 4
getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_OTHER:Lorg/apache/xpath/objects/XNumber;
if_acmpne 10
8: iload 5
istore 2
9: goto 12
end local 5 10: StackMap locals:
StackMap stack:
iconst_m1
aload 3
invokeinterface org.apache.xml.dtm.DTMIterator.nextNode:()I
dup
istore 5
start local 5 11: if_icmpne 4
end local 5 12: StackMap locals:
StackMap stack:
aload 3
invokeinterface org.apache.xml.dtm.DTMIterator.detach:()V
13: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/xpath/patterns/FunctionPattern;
0 14 1 xctxt Lorg/apache/xpath/XPathContext;
0 14 2 context I
1 14 3 nl Lorg/apache/xml/dtm/DTMIterator;
2 14 4 score Lorg/apache/xpath/objects/XNumber;
4 10 5 n I
11 12 5 n I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
context
public org.apache.xpath.objects.XObject execute(org.apache.xpath.XPathContext, int, org.apache.xml.dtm.DTM, int);
descriptor: (Lorg/apache/xpath/XPathContext;ILorg/apache/xml/dtm/DTM;I)Lorg/apache/xpath/objects/XObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.apache.xpath.patterns.FunctionPattern.m_functionExpr:Lorg/apache/xpath/Expression;
aload 1
iload 2
invokevirtual org.apache.xpath.Expression.asIterator:(Lorg/apache/xpath/XPathContext;I)Lorg/apache/xml/dtm/DTMIterator;
astore 5
start local 5 1: getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
astore 6
start local 6 2: aload 5
ifnull 13
3: goto 10
start local 7 4: StackMap locals: org.apache.xml.dtm.DTMIterator org.apache.xpath.objects.XNumber int
StackMap stack:
iload 7
iload 2
if_icmpne 5
getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_OTHER:Lorg/apache/xpath/objects/XNumber;
goto 6
StackMap locals:
StackMap stack:
5: getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
StackMap locals:
StackMap stack: org.apache.xpath.objects.XNumber
6: astore 6
7: aload 6
getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_OTHER:Lorg/apache/xpath/objects/XNumber;
if_acmpne 10
8: iload 7
istore 2
9: goto 12
end local 7 10: StackMap locals:
StackMap stack:
iconst_m1
aload 5
invokeinterface org.apache.xml.dtm.DTMIterator.nextNode:()I
dup
istore 7
start local 7 11: if_icmpne 4
12: StackMap locals: int
StackMap stack:
aload 5
invokeinterface org.apache.xml.dtm.DTMIterator.detach:()V
end local 7 13: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/xpath/patterns/FunctionPattern;
0 14 1 xctxt Lorg/apache/xpath/XPathContext;
0 14 2 context I
0 14 3 dtm Lorg/apache/xml/dtm/DTM;
0 14 4 expType I
1 14 5 nl Lorg/apache/xml/dtm/DTMIterator;
2 14 6 score Lorg/apache/xpath/objects/XNumber;
4 10 7 n I
11 13 7 n I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
context
dtm
expType
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=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.xpath.XPathContext.getCurrentNode:()I
istore 2
start local 2 1: aload 0
getfield org.apache.xpath.patterns.FunctionPattern.m_functionExpr:Lorg/apache/xpath/Expression;
aload 1
iload 2
invokevirtual org.apache.xpath.Expression.asIterator:(Lorg/apache/xpath/XPathContext;I)Lorg/apache/xml/dtm/DTMIterator;
astore 3
start local 3 2: getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
astore 4
start local 4 3: aload 3
ifnull 14
4: goto 11
start local 5 5: StackMap locals: org.apache.xpath.patterns.FunctionPattern org.apache.xpath.XPathContext int org.apache.xml.dtm.DTMIterator org.apache.xpath.objects.XNumber int
StackMap stack:
iload 5
iload 2
if_icmpne 6
getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_OTHER:Lorg/apache/xpath/objects/XNumber;
goto 7
StackMap locals:
StackMap stack:
6: getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_NONE:Lorg/apache/xpath/objects/XNumber;
StackMap locals:
StackMap stack: org.apache.xpath.objects.XNumber
7: astore 4
8: aload 4
getstatic org.apache.xpath.patterns.FunctionPattern.SCORE_OTHER:Lorg/apache/xpath/objects/XNumber;
if_acmpne 11
9: iload 5
istore 2
10: goto 13
end local 5 11: StackMap locals:
StackMap stack:
iconst_m1
aload 3
invokeinterface org.apache.xml.dtm.DTMIterator.nextNode:()I
dup
istore 5
start local 5 12: if_icmpne 5
13: StackMap locals: int
StackMap stack:
aload 3
invokeinterface org.apache.xml.dtm.DTMIterator.detach:()V
end local 5 14: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/xpath/patterns/FunctionPattern;
0 15 1 xctxt Lorg/apache/xpath/XPathContext;
1 15 2 context I
2 15 3 nl Lorg/apache/xml/dtm/DTMIterator;
3 15 4 score Lorg/apache/xpath/objects/XNumber;
5 11 5 n I
12 14 5 n I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
protected void callSubtreeVisitors(org.apache.xpath.XPathVisitor);
descriptor: (Lorg/apache/xpath/XPathVisitor;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xpath.patterns.FunctionPattern.m_functionExpr:Lorg/apache/xpath/Expression;
new org.apache.xpath.patterns.FunctionPattern$FunctionOwner
dup
aload 0
invokespecial org.apache.xpath.patterns.FunctionPattern$FunctionOwner.<init>:(Lorg/apache/xpath/patterns/FunctionPattern;)V
aload 1
invokevirtual org.apache.xpath.Expression.callVisitors:(Lorg/apache/xpath/ExpressionOwner;Lorg/apache/xpath/XPathVisitor;)V
1: aload 0
aload 1
invokespecial org.apache.xpath.patterns.StepPattern.callSubtreeVisitors:(Lorg/apache/xpath/XPathVisitor;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/patterns/FunctionPattern;
0 3 1 visitor Lorg/apache/xpath/XPathVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "FunctionPattern.java"
NestMembers:
org.apache.xpath.patterns.FunctionPattern$FunctionOwner
InnerClasses:
FunctionOwner = org.apache.xpath.patterns.FunctionPattern$FunctionOwner of org.apache.xpath.patterns.FunctionPattern