public class com.sun.org.apache.xpath.internal.functions.FuncTranslate extends com.sun.org.apache.xpath.internal.functions.Function3Args
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.functions.FuncTranslate
super_class: com.sun.org.apache.xpath.internal.functions.Function3Args
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1672834340026116482
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncTranslate this
0: .line 32
aload 0 /* this */
invokespecial com.sun.org.apache.xpath.internal.functions.Function3Args.<init>:()V
return
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncTranslate this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncTranslate;
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=11, args_size=2
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncTranslate this
start local 1 // com.sun.org.apache.xpath.internal.XPathContext xctxt
0: .line 47
aload 0 /* this */
getfield com.sun.org.apache.xpath.internal.functions.FuncTranslate.m_arg0:Lcom/sun/org/apache/xpath/internal/Expression;
aload 1 /* xctxt */
invokevirtual com.sun.org.apache.xpath.internal.Expression.execute:(Lcom/sun/org/apache/xpath/internal/XPathContext;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.str:()Ljava/lang/String;
astore 2 /* theFirstString */
start local 2 // java.lang.String theFirstString
1: .line 48
aload 0 /* this */
getfield com.sun.org.apache.xpath.internal.functions.FuncTranslate.m_arg1:Lcom/sun/org/apache/xpath/internal/Expression;
aload 1 /* xctxt */
invokevirtual com.sun.org.apache.xpath.internal.Expression.execute:(Lcom/sun/org/apache/xpath/internal/XPathContext;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.str:()Ljava/lang/String;
astore 3 /* theSecondString */
start local 3 // java.lang.String theSecondString
2: .line 49
aload 0 /* this */
getfield com.sun.org.apache.xpath.internal.functions.FuncTranslate.m_arg2:Lcom/sun/org/apache/xpath/internal/Expression;
aload 1 /* xctxt */
invokevirtual com.sun.org.apache.xpath.internal.Expression.execute:(Lcom/sun/org/apache/xpath/internal/XPathContext;)Lcom/sun/org/apache/xpath/internal/objects/XObject;
invokevirtual com.sun.org.apache.xpath.internal.objects.XObject.str:()Ljava/lang/String;
astore 4 /* theThirdString */
start local 4 // java.lang.String theThirdString
3: .line 50
aload 2 /* theFirstString */
invokevirtual java.lang.String.length:()I
istore 5 /* theFirstStringLength */
start local 5 // int theFirstStringLength
4: .line 51
aload 4 /* theThirdString */
invokevirtual java.lang.String.length:()I
istore 6 /* theThirdStringLength */
start local 6 // int theThirdStringLength
5: .line 55
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 7 /* sbuffer */
start local 7 // java.lang.StringBuffer sbuffer
6: .line 57
iconst_0
istore 8 /* i */
start local 8 // int i
7: goto 16
8: .line 59
StackMap locals: com.sun.org.apache.xpath.internal.functions.FuncTranslate com.sun.org.apache.xpath.internal.XPathContext java.lang.String java.lang.String java.lang.String int int java.lang.StringBuffer int
StackMap stack:
aload 2 /* theFirstString */
iload 8 /* i */
invokevirtual java.lang.String.charAt:(I)C
istore 9 /* theCurrentChar */
start local 9 // char theCurrentChar
9: .line 60
aload 3 /* theSecondString */
iload 9 /* theCurrentChar */
invokevirtual java.lang.String.indexOf:(I)I
istore 10 /* theIndex */
start local 10 // int theIndex
10: .line 62
iload 10 /* theIndex */
ifge 13
11: .line 67
aload 7 /* sbuffer */
iload 9 /* theCurrentChar */
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
12: .line 68
goto 15
13: .line 69
StackMap locals: int int
StackMap stack:
iload 10 /* theIndex */
iload 6 /* theThirdStringLength */
if_icmpge 15
14: .line 74
aload 7 /* sbuffer */
aload 4 /* theThirdString */
iload 10 /* theIndex */
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 10 // int theIndex
end local 9 // char theCurrentChar
15: .line 57
StackMap locals:
StackMap stack:
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
16: iload 8 /* i */
iload 5 /* theFirstStringLength */
if_icmplt 8
end local 8 // int i
17: .line 87
new com.sun.org.apache.xpath.internal.objects.XString
dup
aload 7 /* sbuffer */
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokespecial com.sun.org.apache.xpath.internal.objects.XString.<init>:(Ljava/lang/String;)V
areturn
end local 7 // java.lang.StringBuffer sbuffer
end local 6 // int theThirdStringLength
end local 5 // int theFirstStringLength
end local 4 // java.lang.String theThirdString
end local 3 // java.lang.String theSecondString
end local 2 // java.lang.String theFirstString
end local 1 // com.sun.org.apache.xpath.internal.XPathContext xctxt
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncTranslate this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncTranslate;
0 18 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
1 18 2 theFirstString Ljava/lang/String;
2 18 3 theSecondString Ljava/lang/String;
3 18 4 theThirdString Ljava/lang/String;
4 18 5 theFirstStringLength I
5 18 6 theThirdStringLength I
6 18 7 sbuffer Ljava/lang/StringBuffer;
7 17 8 i I
9 15 9 theCurrentChar C
10 15 10 theIndex I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
}
SourceFile: "FuncTranslate.java"