public class com.sun.tools.internal.xjc.reader.Util
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.reader.Util
super_class: java.lang.Object
{
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/tools/internal/xjc/reader/Util;
public static java.lang.Object getFileOrURL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.net.URL
dup
aload 0
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
3: new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fileOrURL Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.net.MalformedURLException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fileOrURL
public static org.xml.sax.InputSource getInputSource(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/xml/sax/InputSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.sun.tools.internal.xjc.reader.Util.getFileOrURL:(Ljava/lang/String;)Ljava/lang/Object;
astore 1
start local 1 1: aload 1
instanceof java.net.URL
ifeq 4
2: new org.xml.sax.InputSource
dup
aload 1
checkcast java.net.URL
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
invokestatic com.sun.tools.internal.xjc.reader.Util.escapeSpace:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
3: areturn
4: StackMap locals: java.lang.Object
StackMap stack:
aload 1
checkcast java.io.File
invokevirtual java.io.File.toURL:()Ljava/net/URL;
invokevirtual java.net.URL.toExternalForm:()Ljava/lang/String;
astore 2
start local 2 5: new org.xml.sax.InputSource
dup
aload 2
invokestatic com.sun.tools.internal.xjc.reader.Util.escapeSpace:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
6: areturn
end local 2 end local 1 7: StackMap locals: java.lang.String
StackMap stack: java.io.IOException
pop
8: new org.xml.sax.InputSource
dup
aload 0
invokespecial org.xml.sax.InputSource.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 fileOrURL Ljava/lang/String;
1 7 1 o Ljava/lang/Object;
5 7 2 url Ljava/lang/String;
Exception table:
from to target type
0 3 7 Class java.io.IOException
4 6 7 Class java.io.IOException
MethodParameters:
Name Flags
fileOrURL
public static java.lang.String escapeSpace(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: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: java.lang.StringBuffer int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
bipush 32
if_icmpne 5
4: aload 1
ldc "%20"
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
goto 6
5: StackMap locals:
StackMap stack:
aload 1
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 8: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 url Ljava/lang/String;
1 9 1 buf Ljava/lang/StringBuffer;
2 8 2 i I
MethodParameters:
Name Flags
url
}
SourceFile: "Util.java"