public final class com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util
super_class: java.lang.Object
{
private static char filesep;
descriptor: C
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "file.separator"
ldc "/"
invokestatic jdk.xml.internal.SecuritySupport.getSystemProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
putstatic com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util.filesep:C
end local 0 2: return
LocalVariableTable:
Start End Slot Name Signature
1 2 0 temp Ljava/lang/String;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/Util;
public static java.lang.String noExtName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: aload 0
iconst_0
iload 1
iflt 2
iload 1
goto 3
StackMap locals: java.lang.String int
StackMap stack: java.lang.String int
2: aload 0
invokevirtual java.lang.String.length:()I
StackMap locals: java.lang.String int
StackMap stack: java.lang.String int int
3: invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
1 4 1 index I
MethodParameters:
Name Flags
name
public static java.lang.String baseName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
bipush 92
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: iload 1
ifge 3
2: aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
iflt 5
4: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
aload 0
bipush 58
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 6: iload 2
ifle 8
7: aload 0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
8: StackMap locals: int
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 name Ljava/lang/String;
1 9 1 index I
6 9 2 lastColonIndex I
MethodParameters:
Name Flags
name
public static java.lang.String pathName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: iload 1
ifge 3
2: aload 0
bipush 92
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
1 4 1 index I
MethodParameters:
Name Flags
name
public static java.lang.String toJavaName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifle 16
1: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 2: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 3: aload 1
iload 2
invokestatic java.lang.Character.isJavaIdentifierStart:(C)Z
ifeq 4
iload 2
goto 5
StackMap locals: java.lang.String java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer
4: bipush 95
StackMap locals: java.lang.String java.lang.StringBuffer int
StackMap stack: java.lang.StringBuffer int
5: invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
6: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 7: iconst_1
istore 4
start local 4 8: goto 14
9: StackMap locals: int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 2
10: aload 1
iload 2
invokestatic java.lang.Character.isJavaIdentifierPart:(C)Z
ifeq 11
iload 2
goto 12
StackMap locals:
StackMap stack: java.lang.StringBuffer
11: bipush 95
StackMap locals: java.lang.String java.lang.StringBuffer int int int
StackMap stack: java.lang.StringBuffer int
12: invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
13: iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iload 3
if_icmplt 9
end local 4 15: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 16: StackMap locals: java.lang.String
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 name Ljava/lang/String;
2 16 1 result Ljava/lang/StringBuffer;
3 16 2 ch C
7 16 3 n I
8 15 4 i I
MethodParameters:
Name Flags
name
public static com.sun.org.apache.bcel.internal.generic.Type getJCRefType(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/generic/Type;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.org.apache.bcel.internal.generic.Type.getType:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/generic/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 signature Ljava/lang/String;
MethodParameters:
Name Flags
signature
public static java.lang.String internalName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 46
getstatic com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util.filesep:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cname Ljava/lang/String;
MethodParameters:
Name Flags
cname
public static void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static void println(char);
descriptor: (C)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
iload 0
invokevirtual java.io.PrintStream.println:(C)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ch C
MethodParameters:
Name Flags
ch
public static void TRACE1();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "TRACE1"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void TRACE2();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "TRACE2"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void TRACE3();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "TRACE3"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String replace(java.lang.String, char, java.lang.String);
descriptor: (Ljava/lang/String;CLjava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual java.lang.String.indexOf:(I)I
ifge 1
aload 0
goto 2
1: StackMap locals:
StackMap stack:
aload 0
iload 1
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
invokestatic com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util.replace:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
2: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 base Ljava/lang/String;
0 3 1 ch C
0 3 2 str Ljava/lang/String;
MethodParameters:
Name Flags
base
ch
str
public static java.lang.String replace(java.lang.String, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.String.length:()I
istore 3
start local 3 1: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 11
4: StackMap locals: int java.lang.StringBuffer int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 5: aload 1
iload 6
invokevirtual java.lang.String.indexOf:(I)I
istore 7
start local 7 6: iload 7
iflt 9
7: aload 4
aload 2
iload 7
aaload
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
8: goto 10
9: StackMap locals: int int
StackMap stack:
aload 4
iload 6
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
end local 7 end local 6 10: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 3
if_icmplt 4
end local 5 12: aload 4
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 base Ljava/lang/String;
0 13 1 delim Ljava/lang/String;
0 13 2 str [Ljava/lang/String;
1 13 3 len I
2 13 4 result Ljava/lang/StringBuffer;
3 12 5 i I
5 10 6 ch C
6 10 7 k I
MethodParameters:
Name Flags
base
delim
str
public static java.lang.String escape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
ldc ".-/:"
1: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "$dot$"
aastore
dup
iconst_1
ldc "$dash$"
aastore
dup
iconst_2
ldc "$slash$"
aastore
dup
iconst_3
ldc "$colon$"
aastore
2: invokestatic com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util.replace:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 input Ljava/lang/String;
MethodParameters:
Name Flags
input
public static java.lang.String getLocalName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc ":"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
ifle 2
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 qname Ljava/lang/String;
1 4 1 index I
MethodParameters:
Name Flags
qname
public static java.lang.String getPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc ":"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
ifle 2
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
2: StackMap locals: int
StackMap stack:
ldc ""
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 qname Ljava/lang/String;
1 4 1 index I
MethodParameters:
Name Flags
qname
public static boolean isLiteral(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 123
if_icmpne 5
aload 0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 123
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
iconst_1
isub
if_icmplt 3
end local 2 7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 str Ljava/lang/String;
1 8 1 length I
2 7 2 i I
MethodParameters:
Name Flags
str
public static boolean isValidQNames(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnull 6
aload 0
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
1: new java.util.StringTokenizer
dup
aload 0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: goto 5
3: StackMap locals: java.util.StringTokenizer
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.utils.XML11Char.isXML11ValidQName:(Ljava/lang/String;)Z
ifne 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
end local 1 6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 str Ljava/lang/String;
2 6 1 tokens Ljava/util/StringTokenizer;
MethodParameters:
Name Flags
str
}
SourceFile: "Util.java"