public class com.sun.org.apache.xpath.internal.functions.FuncSubstringBefore extends com.sun.org.apache.xpath.internal.functions.Function2Args
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.xpath.internal.functions.FuncSubstringBefore
super_class: com.sun.org.apache.xpath.internal.functions.Function2Args
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4110547161672431775
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.FuncSubstringBefore this
0: .line 32
aload 0 /* this */
invokespecial com.sun.org.apache.xpath.internal.functions.Function2Args.<init>:()V
return
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncSubstringBefore this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncSubstringBefore;
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=5, locals=5, args_size=2
start local 0 // com.sun.org.apache.xpath.internal.functions.FuncSubstringBefore 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.FuncSubstringBefore.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 /* s1 */
start local 2 // java.lang.String s1
1: .line 48
aload 0 /* this */
getfield com.sun.org.apache.xpath.internal.functions.FuncSubstringBefore.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 /* s2 */
start local 3 // java.lang.String s2
2: .line 49
aload 2 /* s1 */
aload 3 /* s2 */
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 4 /* index */
start local 4 // int index
3: .line 51
iconst_m1
iload 4 /* index */
if_icmpne 5
4: .line 52
getstatic com.sun.org.apache.xpath.internal.objects.XString.EMPTYSTRING:Lcom/sun/org/apache/xpath/internal/objects/XString;
goto 6
StackMap locals: java.lang.String java.lang.String int
StackMap stack:
5: new com.sun.org.apache.xpath.internal.objects.XString
dup
aload 2 /* s1 */
iconst_0
iload 4 /* index */
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokespecial com.sun.org.apache.xpath.internal.objects.XString.<init>:(Ljava/lang/String;)V
6: .line 51
StackMap locals:
StackMap stack: com.sun.org.apache.xpath.internal.objects.XString
areturn
end local 4 // int index
end local 3 // java.lang.String s2
end local 2 // java.lang.String s1
end local 1 // com.sun.org.apache.xpath.internal.XPathContext xctxt
end local 0 // com.sun.org.apache.xpath.internal.functions.FuncSubstringBefore this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xpath/internal/functions/FuncSubstringBefore;
0 7 1 xctxt Lcom/sun/org/apache/xpath/internal/XPathContext;
1 7 2 s1 Ljava/lang/String;
2 7 3 s2 Ljava/lang/String;
3 7 4 index I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
xctxt
}
SourceFile: "FuncSubstringBefore.java"