public class com.sun.tools.internal.jxc.SchemaGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.jxc.SchemaGenerator
super_class: java.lang.Object
{
private static final java.util.logging.Logger LOGGER;
descriptor: Ljava/util/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/tools/internal/jxc/SchemaGenerator;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
putstatic com.sun.tools.internal.jxc.SchemaGenerator.LOGGER:Ljava/util/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
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/jxc/SchemaGenerator;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.sun.tools.internal.jxc.SchemaGenerator.run:([Ljava/lang/String;)I
invokestatic java.lang.System.exit:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 args [Ljava/lang/String;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
public static int run(java.lang.String[]);
descriptor: ([Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc Lcom/sun/tools/internal/jxc/SchemaGenerator;
invokestatic com.sun.tools.internal.jxc.SecureLoader.getClassClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: invokestatic com.sun.tools.internal.jxc.SecureLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 1
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 0
aload 1
invokestatic com.sun.tools.internal.jxc.SchemaGenerator.run:([Ljava/lang/String;Ljava/lang/ClassLoader;)I
4: ireturn
end local 1 5: StackMap locals: java.lang.String[]
StackMap stack: java.lang.Exception
astore 1
start local 1 6: getstatic com.sun.tools.internal.jxc.SchemaGenerator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 1
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
7: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 args [Ljava/lang/String;
1 5 1 cl Ljava/lang/ClassLoader;
6 8 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
public static int run(java.lang.String[], java.lang.ClassLoader);
descriptor: ([Ljava/lang/String;Ljava/lang/ClassLoader;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: new com.sun.tools.internal.jxc.ap.Options
dup
invokespecial com.sun.tools.internal.jxc.ap.Options.<init>:()V
astore 2
start local 2 1: aload 0
arraylength
ifne 4
2: invokestatic com.sun.tools.internal.jxc.SchemaGenerator.usage:()V
3: iconst_m1
ireturn
4: StackMap locals: com.sun.tools.internal.jxc.ap.Options
StackMap stack:
aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 16
StackMap locals: java.lang.String[] java.lang.ClassLoader com.sun.tools.internal.jxc.ap.Options top int int java.lang.String[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 3
ldc "-help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: invokestatic com.sun.tools.internal.jxc.SchemaGenerator.usage:()V
8: iconst_m1
ireturn
9: StackMap locals: java.lang.String[] java.lang.ClassLoader com.sun.tools.internal.jxc.ap.Options java.lang.String int int java.lang.String[]
StackMap stack:
aload 3
ldc "-version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic com.sun.tools.internal.jxc.Messages.VERSION:Lcom/sun/tools/internal/jxc/Messages;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.internal.jxc.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: iconst_m1
ireturn
12: StackMap locals:
StackMap stack:
aload 3
ldc "-fullversion"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic com.sun.tools.internal.jxc.Messages.FULLVERSION:Lcom/sun/tools/internal/jxc/Messages;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.internal.jxc.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: iconst_m1
ireturn
end local 3 15: StackMap locals: java.lang.String[] java.lang.ClassLoader com.sun.tools.internal.jxc.ap.Options top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 5
if_icmplt 5
17: aload 2
aload 0
invokevirtual com.sun.tools.internal.jxc.ap.Options.parseArguments:([Ljava/lang/String;)V
18: goto 24
StackMap locals: java.lang.String[] java.lang.ClassLoader com.sun.tools.internal.jxc.ap.Options
StackMap stack: com.sun.tools.internal.xjc.BadCommandLineException
19: astore 3
start local 3 20: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 3
invokevirtual com.sun.tools.internal.xjc.BadCommandLineException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
22: invokestatic com.sun.tools.internal.jxc.SchemaGenerator.usage:()V
23: iconst_m1
ireturn
end local 3 24: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/sun/tools/internal/jxc/SchemaGenerator$Runner;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
start local 3 25: aload 3
ldc "compile"
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc [Ljava/lang/String;
aastore
dup
iconst_1
ldc Ljava/io/File;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
start local 4 26: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 27: aload 2
getfield com.sun.tools.internal.jxc.ap.Options.encoding:Ljava/lang/String;
ifnull 30
28: aload 5
ldc "-encoding"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: aload 5
aload 2
getfield com.sun.tools.internal.jxc.ap.Options.encoding:Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: StackMap locals: java.lang.Class java.lang.reflect.Method java.util.List
StackMap stack:
aload 5
ldc "-cp"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
31: aload 5
aload 2
getfield com.sun.tools.internal.jxc.ap.Options.classpath:Ljava/lang/String;
invokestatic com.sun.tools.internal.jxc.SchemaGenerator.setClasspath:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
32: aload 5
ldc "--add-modules"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
33: aload 5
ldc "java.xml.bind"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
34: aload 2
getfield com.sun.tools.internal.jxc.ap.Options.targetDir:Ljava/io/File;
ifnull 37
35: aload 5
ldc "-d"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
36: aload 5
aload 2
getfield com.sun.tools.internal.jxc.ap.Options.targetDir:Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
37: StackMap locals:
StackMap stack:
aload 5
aload 2
getfield com.sun.tools.internal.jxc.ap.Options.arguments:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
38: aload 5
aload 5
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 6
start local 6 39: aload 4
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 2
getfield com.sun.tools.internal.jxc.ap.Options.episodeFile:Ljava/io/File;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 40
iconst_0
goto 41
StackMap locals: java.lang.String[]
StackMap stack:
40: iconst_1
StackMap locals:
StackMap stack: int
41: ireturn
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 42 0 args [Ljava/lang/String;
0 42 1 classLoader Ljava/lang/ClassLoader;
1 42 2 options Lcom/sun/tools/internal/jxc/ap/Options;
6 15 3 arg Ljava/lang/String;
20 24 3 e Lcom/sun/tools/internal/xjc/BadCommandLineException;
25 42 3 schemagenRunner Ljava/lang/Class;
26 42 4 compileMethod Ljava/lang/reflect/Method;
27 42 5 aptargs Ljava/util/List<Ljava/lang/String;>;
39 42 6 argsarray [Ljava/lang/String;
Exception table:
from to target type
17 18 19 Class com.sun.tools.internal.xjc.BadCommandLineException
Exceptions:
throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
args
classLoader
private static java.lang.String setClasspath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokestatic com.sun.tools.internal.jxc.SchemaGenerator.appendPath:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
2: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 2
start local 2 3: goto 14
4: StackMap locals: java.lang.StringBuilder java.lang.ClassLoader
StackMap stack:
aload 2
instanceof java.net.URLClassLoader
ifeq 13
5: aload 2
checkcast java.net.URLClassLoader
invokevirtual java.net.URLClassLoader.getURLs:()[Ljava/net/URL;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 12
StackMap locals: java.lang.String java.lang.StringBuilder java.lang.ClassLoader top int int java.net.URL[]
StackMap stack:
6: aload 6
iload 4
aaload
astore 3
start local 3 7: aload 1
new java.io.File
dup
aload 3
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic com.sun.tools.internal.jxc.SchemaGenerator.appendPath:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
8: goto 11
StackMap locals: java.lang.String java.lang.StringBuilder java.lang.ClassLoader java.net.URL int int java.net.URL[]
StackMap stack: java.net.URISyntaxException
9: astore 7
start local 7 10: getstatic com.sun.tools.internal.jxc.SchemaGenerator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 7
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
aload 7
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 7 end local 3 11: StackMap locals: java.lang.String java.lang.StringBuilder java.lang.ClassLoader top int int java.net.URL[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmplt 6
13: StackMap locals: java.lang.String java.lang.StringBuilder java.lang.ClassLoader
StackMap stack:
aload 2
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 2
14: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
15: aload 1
invokestatic com.sun.tools.internal.jxc.SchemaGenerator.findJaxbApiJar:()Ljava/lang/String;
invokestatic com.sun.tools.internal.jxc.SchemaGenerator.appendPath:(Ljava/lang/StringBuilder;Ljava/lang/String;)V
16: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 givenClasspath Ljava/lang/String;
1 17 1 cp Ljava/lang/StringBuilder;
3 17 2 cl Ljava/lang/ClassLoader;
7 11 3 url Ljava/net/URL;
10 11 7 ex Ljava/net/URISyntaxException;
Exception table:
from to target type
7 8 9 Class java.net.URISyntaxException
MethodParameters:
Name Flags
givenClasspath
private static void appendPath(java.lang.StringBuilder, java.lang.String);
descriptor: (Ljava/lang/StringBuilder;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.StringBuilder.length:()I
ifeq 4
3: aload 0
getstatic java.io.File.pathSeparatorChar:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 cp Ljava/lang/StringBuilder;
0 6 1 url Ljava/lang/String;
MethodParameters:
Name Flags
cp
url
private static java.lang.String findJaxbApiJar();
descriptor: ()Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: ldc Ljavax/xml/bind/JAXBContext;
invokestatic com.sun.xml.internal.bind.util.Which.which:(Ljava/lang/Class;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 0
bipush 33
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_m1
if_icmpne 4
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
iconst_4
aload 0
bipush 33
invokevirtual java.lang.String.lastIndexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
start local 1 5: aload 1
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 7
6: aconst_null
areturn
7: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
astore 2
start local 2 8: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 11
aload 2
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
9: aload 2
invokevirtual java.io.File.getPath:()Ljava/lang/String;
10: areturn
11: StackMap locals: java.io.File
StackMap stack:
new java.io.File
dup
new java.net.URL
dup
aload 1
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
12: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 20
aload 2
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 20
13: aload 2
invokevirtual java.io.File.getPath:()Ljava/lang/String;
14: areturn
end local 2 15: StackMap locals: java.lang.String java.lang.String
StackMap stack: java.net.URISyntaxException
astore 2
start local 2 16: getstatic com.sun.tools.internal.jxc.SchemaGenerator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 2
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 17: goto 20
18: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 2
start local 2 19: getstatic com.sun.tools.internal.jxc.SchemaGenerator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.SEVERE:Ljava/util/logging/Level;
aload 2
invokevirtual java.net.MalformedURLException.getMessage:()Ljava/lang/String;
aload 2
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V
end local 2 20: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 21 0 url Ljava/lang/String;
5 21 1 jarFileUrl Ljava/lang/String;
8 15 2 f Ljava/io/File;
16 17 2 ex Ljava/net/URISyntaxException;
19 20 2 ex Ljava/net/MalformedURLException;
Exception table:
from to target type
7 10 15 Class java.net.URISyntaxException
11 14 15 Class java.net.URISyntaxException
7 10 18 Class java.net.MalformedURLException
11 14 18 Class java.net.MalformedURLException
private static void usage();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic com.sun.tools.internal.jxc.Messages.USAGE:Lcom/sun/tools/internal/jxc/Messages;
iconst_0
anewarray java.lang.Object
invokevirtual com.sun.tools.internal.jxc.Messages.format:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SchemaGenerator.java"
NestMembers:
com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions com.sun.tools.internal.jxc.SchemaGenerator$Runner
InnerClasses:
private final JavacOptions = com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions of com.sun.tools.internal.jxc.SchemaGenerator
public final Runner = com.sun.tools.internal.jxc.SchemaGenerator$Runner of com.sun.tools.internal.jxc.SchemaGenerator