public final class com.sun.org.apache.xpath.internal.functions.FuncHere extends com.sun.org.apache.xpath.internal.functions.Function
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.functions.FuncHere
super_class: com.sun.org.apache.xpath.internal.functions.Function
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4328660760070034592
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/FuncHere;
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=12, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getOwnerObject:()Ljava/lang/Object;
checkcast org.w3c.dom.Node
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.w3c.dom.Node
StackMap stack:
aload 1
aload 2
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getDTMHandleFromNode:(Lorg/w3c/dom/Node;)I
istore 3
start local 3 4: aload 1
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getCurrentNode:()I
istore 4
start local 4 5: aload 1
iload 4
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getDTM:(I)Lcom/sun/org/apache/xml/internal/dtm/DTM;
astore 5
start local 5 6: aload 5
invokeinterface com.sun.org.apache.xml.internal.dtm.DTM.getDocument:()I
istore 6
start local 6 7: iload 6
iconst_m1
if_icmpne 9
8: aload 0
aload 1
ldc "ER_CONTEXT_HAS_NO_OWNERDOC"
aconst_null
invokevirtual com.sun.org.apache.xpath.internal.functions.FuncHere.error:(Lcom/sun/org/apache/xpath/internal/XPathContext;Ljava/lang/String;[Ljava/lang/Object;)V
9: StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncHere com.sun.org.apache.xpath.internal.XPathContext org.w3c.dom.Node int int com.sun.org.apache.xml.internal.dtm.DTM int
StackMap stack:
aload 5
iload 4
invokeinterface com.sun.org.apache.xml.internal.dtm.DTM.getNode:(I)Lorg/w3c/dom/Node;
invokestatic com.sun.org.apache.xpath.internal.functions.FuncHere.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
astore 7
start local 7 10: aload 2
invokestatic com.sun.org.apache.xpath.internal.functions.FuncHere.getOwnerDocument:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
astore 8
start local 8 11: aload 7
aload 8
if_acmpeq 13
12: new javax.xml.transform.TransformerException
dup
ldc "Owner documents differ"
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: org.w3c.dom.Document org.w3c.dom.Document
StackMap stack:
new com.sun.org.apache.xpath.internal.objects.XNodeSet
dup
aload 1
invokevirtual com.sun.org.apache.xpath.internal.XPathContext.getDTMManager:()Lcom/sun/org/apache/xml/internal/dtm/DTMManager;
invokespecial com.sun.org.apache.xpath.internal.objects.XNodeSet.<init>:(Lcom/sun/org/apache/xml/internal/dtm/DTMManager;)V
astore 9
start local 9 14: aload 9
invokevirtual com.sun.org.apache.xpath.internal.objects.XNodeSet.mutableNodeset:()Lcom/sun/org/apache/xpath/internal/NodeSetDTM;
astore 10
start local 10 15: iconst_m1
istore 11
start local 11 16: aload 5
iload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTM.getNodeType:(I)S
tableswitch { // 2 - 7
2: 17
3: 20
4: 23
5: 23
6: 23
7: 17
default: 23
}
17: StackMap locals: com.sun.org.apache.xpath.internal.objects.XNodeSet com.sun.org.apache.xpath.internal.NodeSetDTM int
StackMap stack:
iload 3
istore 11
18: aload 10
iload 11
invokevirtual com.sun.org.apache.xpath.internal.NodeSetDTM.addNode:(I)V
19: goto 23
20: StackMap locals:
StackMap stack:
aload 5
iload 3
invokeinterface com.sun.org.apache.xml.internal.dtm.DTM.getParent:(I)I
istore 11
21: aload 10
iload 11
invokevirtual com.sun.org.apache.xpath.internal.NodeSetDTM.addNode:(I)V
22: goto 23
23: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.org.apache.xpath.internal.NodeSetDTM.detach:()V
24: aload 9
areturn
end local 11 end local 10 end local 9 end local 8 end local 7 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 25 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncHere;
0 25 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
1 25 2 xpathOwnerNode Lorg/w3c/dom/Node;
4 25 3 xpathOwnerNodeDTM I
5 25 4 currentNode I
6 25 5 dtm Lcom/sun/org/apache/xml/internal/dtm/DTM;
7 25 6 docContext I
10 25 7 currentDoc Lorg/w3c/dom/Document;
11 25 8 xpathOwnerDoc Lorg/w3c/dom/Document;
14 25 9 nodes Lcom/sun/org/apache/xpath/internal/objects/XNodeSet;
15 25 10 nodeSet Lcom/sun/org/apache/xpath/internal/NodeSetDTM;
16 25 11 hereNode I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
private static org.w3c.dom.Document getOwnerDocument(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)Lorg/w3c/dom/Document;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.w3c.dom.Node.getNodeType:()S
bipush 9
if_icmpne 2
1: aload 0
checkcast org.w3c.dom.Document
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.w3c.dom.Node.getOwnerDocument:()Lorg/w3c/dom/Document;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 node Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
node
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/FuncHere;
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: "FuncHere.java"