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