public class com.sun.tools.internal.xjc.Driver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.Driver
super_class: java.lang.Object
{
private static final java.lang.String SYSTEM_PROXY_PROPERTY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.net.useSystemProxies"
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$com$sun$tools$internal$xjc$Driver$Mode;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/tools/internal/xjc/Driver;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.sun.tools.internal.xjc.Driver.$assertionsDisabled:Z
3: 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/xjc/Driver;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic com.sun.tools.internal.xjc.Driver.setupProxies:()V
1: ldc Lcom/sun/tools/internal/xjc/Driver;
ldc "noThreadSwap"
invokestatic com.sun.tools.internal.xjc.util.Util.getSystemProperty:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/String;
ifnull 3
2: aload 0
invokestatic com.sun.tools.internal.xjc.Driver._main:([Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
iconst_1
anewarray java.lang.Throwable
astore 1
start local 1 4: new com.sun.tools.internal.xjc.Driver$1
dup
aload 0
aload 1
invokespecial com.sun.tools.internal.xjc.Driver$1.<init>:([Ljava/lang/String;[Ljava/lang/Throwable;)V
astore 2
start local 2 5: aload 2
invokevirtual java.lang.Thread.start:()V
6: aload 2
invokevirtual java.lang.Thread.join:()V
7: aload 1
iconst_0
aaload
ifnull 11
8: aload 1
iconst_0
aaload
instanceof java.lang.Exception
ifeq 10
9: aload 1
iconst_0
aaload
checkcast java.lang.Exception
athrow
10: StackMap locals: java.lang.Throwable[] java.lang.Thread
StackMap stack:
aload 1
iconst_0
aaload
checkcast java.lang.Error
athrow
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 args [Ljava/lang/String;
4 12 1 ex [Ljava/lang/Throwable;
5 12 2 th Ljava/lang/Thread;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args final
private static void setupProxies();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new com.sun.tools.internal.xjc.Driver$2
dup
invokespecial com.sun.tools.internal.xjc.Driver$2.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: new com.sun.tools.internal.xjc.Driver$3
dup
invokespecial com.sun.tools.internal.xjc.Driver$3.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
3: StackMap locals: java.lang.Object
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 setProperty Ljava/lang/Object;
private static void _main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic com.sun.tools.internal.xjc.Driver.run:([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)I
invokestatic java.lang.System.exit:(I)V
1: goto 8
StackMap locals:
StackMap stack: com.sun.tools.internal.xjc.BadCommandLineException
2: astore 1
start local 1 3: aload 1
invokevirtual com.sun.tools.internal.xjc.BadCommandLineException.getMessage:()Ljava/lang/String;
ifnull 6
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual com.sun.tools.internal.xjc.BadCommandLineException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
6: StackMap locals: com.sun.tools.internal.xjc.BadCommandLineException
StackMap stack:
aload 1
invokevirtual com.sun.tools.internal.xjc.BadCommandLineException.getOptions:()Lcom/sun/tools/internal/xjc/Options;
iconst_0
invokestatic com.sun.tools.internal.xjc.Driver.usage:(Lcom/sun/tools/internal/xjc/Options;Z)V
7: iconst_m1
invokestatic java.lang.System.exit:(I)V
end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 args [Ljava/lang/String;
3 8 1 e Lcom/sun/tools/internal/xjc/BadCommandLineException;
Exception table:
from to target type
0 1 2 Class com.sun.tools.internal.xjc.BadCommandLineException
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
public static int run(java.lang.String[], java.io.PrintStream, java.io.PrintStream);
descriptor: ([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new com.sun.tools.internal.xjc.Driver$1Listener
dup
aload 2
aload 1
invokespecial com.sun.tools.internal.xjc.Driver$1Listener.<init>:(Ljava/io/PrintStream;Ljava/io/PrintStream;)V
invokestatic com.sun.tools.internal.xjc.Driver.run:([Ljava/lang/String;Lcom/sun/tools/internal/xjc/XJCListener;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 args [Ljava/lang/String;
0 1 1 status Ljava/io/PrintStream;
0 1 2 out Ljava/io/PrintStream;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
status final
out final
public static int run(java.lang.String[], com.sun.tools.internal.xjc.XJCListener);
descriptor: ([Ljava/lang/String;Lcom/sun/tools/internal/xjc/XJCListener;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=13, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
ldc "-version"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 1
ldc "Driver.Version"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
4: iconst_m1
ireturn
5: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener java.lang.String int int java.lang.String[]
StackMap stack:
aload 2
ldc "-fullversion"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 1
ldc "Driver.FullVersion"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
7: iconst_m1
ireturn
end local 2 8: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener top int int java.lang.String[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 1
10: new com.sun.tools.internal.xjc.Driver$OptionsEx
dup
invokespecial com.sun.tools.internal.xjc.Driver$OptionsEx.<init>:()V
astore 2
start local 2 11: aload 2
getstatic com.sun.tools.internal.xjc.Language.XMLSCHEMA:Lcom/sun/tools/internal/xjc/Language;
invokevirtual com.sun.tools.internal.xjc.Driver$OptionsEx.setSchemaLanguage:(Lcom/sun/tools/internal/xjc/Language;)V
12: aload 2
aload 0
invokevirtual com.sun.tools.internal.xjc.Driver$OptionsEx.parseArguments:([Ljava/lang/String;)V
13: goto 23
StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx
StackMap stack: com.sun.tools.internal.xjc.Driver$WeAreDone
14: pop
15: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 17
16: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
17: StackMap locals:
StackMap stack:
iconst_m1
ireturn
18: StackMap locals:
StackMap stack: com.sun.tools.internal.xjc.BadCommandLineException
astore 3
start local 3 19: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 21
20: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
21: StackMap locals: com.sun.tools.internal.xjc.BadCommandLineException
StackMap stack:
aload 3
aload 2
invokevirtual com.sun.tools.internal.xjc.BadCommandLineException.initOptions:(Lcom/sun/tools/internal/xjc/Options;)V
22: aload 3
athrow
end local 3 23: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.defaultPackage:Ljava/lang/String;
ifnull 25
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.defaultPackage:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifne 25
24: aload 1
ldc "Driver.WarningMessage"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "Driver.DefaultPackageWarning"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.internal.xjc.SecureLoader.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 26: aload 2
aload 3
invokevirtual com.sun.tools.internal.xjc.Driver$OptionsEx.getUserClassLoader:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
invokestatic com.sun.tools.internal.xjc.SecureLoader.setContextClassLoader:(Ljava/lang/ClassLoader;)V
27: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.quiet:Z
ifne 29
28: aload 1
ldc "Driver.ParsingSchema"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
29: StackMap locals: java.lang.ClassLoader
StackMap stack:
iconst_1
newarray 4
astore 4
start local 4 30: new com.sun.tools.internal.xjc.Driver$4
dup
aload 1
aload 2
aload 4
aload 1
invokespecial com.sun.tools.internal.xjc.Driver$4.<init>:(Lcom/sun/tools/internal/xjc/api/ErrorListener;Lcom/sun/tools/internal/xjc/Driver$OptionsEx;[ZLcom/sun/tools/internal/xjc/XJCListener;)V
astore 5
start local 5 31: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.mode:Lcom/sun/tools/internal/xjc/Driver$Mode;
getstatic com.sun.tools.internal.xjc.Driver$Mode.FOREST:Lcom/sun/tools/internal/xjc/Driver$Mode;
if_acmpne 44
32: new com.sun.tools.internal.xjc.ModelLoader
dup
aload 2
new com.sun.codemodel.internal.JCodeModel
dup
invokespecial com.sun.codemodel.internal.JCodeModel.<init>:()V
aload 5
invokespecial com.sun.tools.internal.xjc.ModelLoader.<init>:(Lcom/sun/tools/internal/xjc/Options;Lcom/sun/codemodel/internal/JCodeModel;Lcom/sun/tools/internal/xjc/ErrorReceiver;)V
astore 6
start local 6 33: aload 6
new com.sun.tools.internal.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic
dup
invokespecial com.sun.tools.internal.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic.<init>:()V
invokevirtual com.sun.tools.internal.xjc.ModelLoader.buildDOMForest:(Lcom/sun/tools/internal/xjc/reader/internalizer/InternalizationLogic;)Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
astore 7
start local 7 34: aload 7
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual com.sun.tools.internal.xjc.reader.internalizer.DOMForest.dump:(Ljava/io/OutputStream;)V
35: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 37
36: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
37: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver com.sun.tools.internal.xjc.ModelLoader com.sun.tools.internal.xjc.reader.internalizer.DOMForest
StackMap stack:
iconst_0
ireturn
end local 7 38: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver com.sun.tools.internal.xjc.ModelLoader
StackMap stack: org.xml.sax.SAXException
pop
goto 41
39: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 40: aload 5
aload 7
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Ljava/lang/Exception;)V
end local 7 41: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 43
42: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
43: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 6 44: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.mode:Lcom/sun/tools/internal/xjc/Driver$Mode;
getstatic com.sun.tools.internal.xjc.Driver$Mode.GBIND:Lcom/sun/tools/internal/xjc/Driver$Mode;
if_acmpne 65
45: new com.sun.tools.internal.xjc.ModelLoader
dup
aload 2
new com.sun.codemodel.internal.JCodeModel
dup
invokespecial com.sun.codemodel.internal.JCodeModel.<init>:()V
aload 5
invokespecial com.sun.tools.internal.xjc.ModelLoader.<init>:(Lcom/sun/tools/internal/xjc/Options;Lcom/sun/codemodel/internal/JCodeModel;Lcom/sun/tools/internal/xjc/ErrorReceiver;)V
invokevirtual com.sun.tools.internal.xjc.ModelLoader.loadXMLSchema:()Lcom/sun/xml/internal/xsom/XSSchemaSet;
astore 6
start local 6 46: aload 6
invokeinterface com.sun.xml.internal.xsom.XSSchemaSet.iterateComplexTypes:()Ljava/util/Iterator;
astore 7
start local 7 47: goto 57
48: StackMap locals: com.sun.xml.internal.xsom.XSSchemaSet java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.xml.internal.xsom.XSComplexType
astore 8
start local 8 49: aload 8
invokeinterface com.sun.xml.internal.xsom.XSComplexType.getContentType:()Lcom/sun/xml/internal/xsom/XSContentType;
invokeinterface com.sun.xml.internal.xsom.XSContentType.asParticle:()Lcom/sun/xml/internal/xsom/XSParticle;
astore 9
start local 9 50: aload 9
ifnonnull 51
goto 57
51: StackMap locals: com.sun.xml.internal.xsom.XSComplexType com.sun.xml.internal.xsom.XSParticle
StackMap stack:
aload 9
invokestatic com.sun.tools.internal.xjc.reader.xmlschema.ExpressionBuilder.createTree:(Lcom/sun/xml/internal/xsom/XSParticle;)Lcom/sun/tools/internal/xjc/reader/gbind/Expression;
astore 10
start local 10 52: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Graph for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokeinterface com.sun.xml.internal.xsom.XSComplexType.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
53: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 10
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
54: new com.sun.tools.internal.xjc.reader.gbind.Graph
dup
aload 10
invokespecial com.sun.tools.internal.xjc.reader.gbind.Graph.<init>:(Lcom/sun/tools/internal/xjc/reader/gbind/Expression;)V
astore 11
start local 11 55: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 11
invokevirtual com.sun.tools.internal.xjc.reader.gbind.Graph.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
56: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
end local 11 end local 10 end local 9 end local 8 57: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 48
58: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 60
59: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
60: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 7 end local 6 61: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver
StackMap stack: org.xml.sax.SAXException
pop
62: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 64
63: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
64: StackMap locals:
StackMap stack:
iconst_m1
ireturn
65: StackMap locals:
StackMap stack:
aload 2
new com.sun.codemodel.internal.JCodeModel
dup
invokespecial com.sun.codemodel.internal.JCodeModel.<init>:()V
aload 5
invokestatic com.sun.tools.internal.xjc.ModelLoader.load:(Lcom/sun/tools/internal/xjc/Options;Lcom/sun/codemodel/internal/JCodeModel;Lcom/sun/tools/internal/xjc/ErrorReceiver;)Lcom/sun/tools/internal/xjc/model/Model;
astore 6
start local 6 66: aload 6
ifnonnull 71
67: aload 1
ldc "Driver.ParseFailed"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
68: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 70
69: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
70: StackMap locals: com.sun.tools.internal.xjc.model.Model
StackMap stack:
iconst_m1
ireturn
71: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.quiet:Z
ifne 73
72: aload 1
ldc "Driver.CompilingSchema"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
73: StackMap locals:
StackMap stack:
invokestatic com.sun.tools.internal.xjc.Driver.$SWITCH_TABLE$com$sun$tools$internal$xjc$Driver$Mode:()[I
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.mode:Lcom/sun/tools/internal/xjc/Driver$Mode;
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 85
2: 74
3: 114
4: 85
5: 85
default: 114
}
74: StackMap locals:
StackMap stack:
aload 6
aload 5
invokestatic com.sun.tools.internal.xjc.generator.bean.BeanGenerator.generate:(Lcom/sun/tools/internal/xjc/model/Model;Lcom/sun/tools/internal/xjc/ErrorReceiver;)Lcom/sun/tools/internal/xjc/outline/Outline;
75: new java.io.OutputStreamWriter
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;)V
76: invokestatic com.sun.tools.internal.xjc.writer.SignatureWriter.write:(Lcom/sun/tools/internal/xjc/outline/Outline;Ljava/io/Writer;)V
77: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 79
78: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
79: StackMap locals:
StackMap stack:
iconst_0
ireturn
80: StackMap locals:
StackMap stack: java.io.IOException
astore 7
start local 7 81: aload 5
aload 7
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Ljava/lang/Exception;)V
82: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 84
83: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
84: StackMap locals: java.io.IOException
StackMap stack:
iconst_m1
ireturn
end local 7 85: StackMap locals:
StackMap stack:
aload 5
ldc "generating code"
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.debug:(Ljava/lang/String;)V
86: aload 6
aload 2
aload 5
invokevirtual com.sun.tools.internal.xjc.model.Model.generateCode:(Lcom/sun/tools/internal/xjc/Options;Lcom/sun/tools/internal/xjc/ErrorReceiver;)Lcom/sun/tools/internal/xjc/outline/Outline;
astore 7
start local 7 87: aload 7
ifnonnull 94
88: aload 1
89: ldc "Driver.FailedToGenerateCode"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
90: invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
91: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 93
92: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
93: StackMap locals: com.sun.tools.internal.xjc.outline.Outline
StackMap stack:
iconst_m1
ireturn
94: StackMap locals:
StackMap stack:
aload 1
aload 7
invokevirtual com.sun.tools.internal.xjc.XJCListener.compiled:(Lcom/sun/tools/internal/xjc/outline/Outline;)V
end local 7 95: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.mode:Lcom/sun/tools/internal/xjc/Driver$Mode;
getstatic com.sun.tools.internal.xjc.Driver$Mode.DRYRUN:Lcom/sun/tools/internal/xjc/Driver$Mode;
if_acmpne 97
96: goto 115
97: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.mode:Lcom/sun/tools/internal/xjc/Driver$Mode;
getstatic com.sun.tools.internal.xjc.Driver$Mode.ZIP:Lcom/sun/tools/internal/xjc/Driver$Mode;
if_acmpne 104
98: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.targetDir:Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 101
99: getstatic java.lang.System.out:Ljava/io/PrintStream;
astore 8
start local 8 100: goto 102
end local 8 101: StackMap locals:
StackMap stack:
new java.io.FileOutputStream
dup
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.targetDir:Ljava/io/File;
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 8
start local 8 102: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver com.sun.tools.internal.xjc.model.Model top java.io.OutputStream
StackMap stack:
aload 2
new com.sun.codemodel.internal.writer.ZipCodeWriter
dup
aload 8
invokespecial com.sun.codemodel.internal.writer.ZipCodeWriter.<init>:(Ljava/io/OutputStream;)V
invokevirtual com.sun.tools.internal.xjc.Driver$OptionsEx.createCodeWriter:(Lcom/sun/codemodel/internal/CodeWriter;)Lcom/sun/codemodel/internal/CodeWriter;
astore 7
end local 8 start local 7 103: goto 105
end local 7 104: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver com.sun.tools.internal.xjc.model.Model
StackMap stack:
aload 2
invokevirtual com.sun.tools.internal.xjc.Driver$OptionsEx.createCodeWriter:()Lcom/sun/codemodel/internal/CodeWriter;
astore 7
start local 7 105: StackMap locals: com.sun.codemodel.internal.CodeWriter
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.quiet:Z
ifne 107
106: new com.sun.tools.internal.xjc.ProgressCodeWriter
dup
aload 7
aload 1
aload 6
getfield com.sun.tools.internal.xjc.model.Model.codeModel:Lcom/sun/codemodel/internal/JCodeModel;
invokevirtual com.sun.codemodel.internal.JCodeModel.countArtifacts:()I
invokespecial com.sun.tools.internal.xjc.ProgressCodeWriter.<init>:(Lcom/sun/codemodel/internal/CodeWriter;Lcom/sun/tools/internal/xjc/XJCListener;I)V
astore 7
107: StackMap locals:
StackMap stack:
aload 6
getfield com.sun.tools.internal.xjc.model.Model.codeModel:Lcom/sun/codemodel/internal/JCodeModel;
aload 7
invokevirtual com.sun.codemodel.internal.JCodeModel.build:(Lcom/sun/codemodel/internal/CodeWriter;)V
end local 7 108: goto 115
StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver com.sun.tools.internal.xjc.model.Model
StackMap stack: java.io.IOException
109: astore 7
start local 7 110: aload 5
aload 7
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Ljava/lang/Exception;)V
111: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 113
112: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
113: StackMap locals: java.io.IOException
StackMap stack:
iconst_m1
ireturn
end local 7 114: StackMap locals:
StackMap stack:
getstatic com.sun.tools.internal.xjc.Driver.$assertionsDisabled:Z
ifne 115
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
115: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.debugMode:Z
ifeq 126
116: new java.io.FileOutputStream
dup
117: new java.io.File
dup
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.targetDir:Ljava/io/File;
aload 4
iconst_0
baload
ifeq 118
ldc "hadWarning"
goto 119
StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver com.sun.tools.internal.xjc.model.Model
StackMap stack: new 116 new 116 new 117 new 117 java.io.File
118: ldc "noWarning"
StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader boolean[] com.sun.tools.internal.xjc.ErrorReceiver com.sun.tools.internal.xjc.model.Model
StackMap stack: new 116 new 116 new 117 new 117 java.io.File java.lang.String
119: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
invokevirtual java.io.FileOutputStream.close:()V
120: goto 126
StackMap locals:
StackMap stack: java.io.IOException
121: astore 7
start local 7 122: aload 5
aload 7
invokevirtual com.sun.tools.internal.xjc.ErrorReceiver.error:(Ljava/lang/Exception;)V
123: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 125
124: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
125: StackMap locals: java.io.IOException
StackMap stack:
iconst_m1
ireturn
end local 7 126: StackMap locals:
StackMap stack:
aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 128
127: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
128: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 6 end local 5 end local 4 129: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader
StackMap stack: java.lang.StackOverflowError
astore 4
start local 4 130: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.verbose:Z
ifeq 132
131: aload 4
athrow
132: StackMap locals: java.lang.StackOverflowError
StackMap stack:
aload 1
ldc "Driver.StackOverflow"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.XJCListener.message:(Ljava/lang/String;)V
133: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 135
134: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
135: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 4 136: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader
StackMap stack: java.lang.Throwable
astore 12
137: aload 2
getfield com.sun.tools.internal.xjc.Driver$OptionsEx.proxyAuth:Ljava/lang/String;
ifnull 139
138: invokestatic com.sun.istack.internal.tools.DefaultAuthenticator.reset:()V
139: StackMap locals: java.lang.String[] com.sun.tools.internal.xjc.XJCListener com.sun.tools.internal.xjc.Driver$OptionsEx java.lang.ClassLoader top top top top top top top top java.lang.Throwable
StackMap stack:
aload 12
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 140 0 args [Ljava/lang/String;
0 140 1 listener Lcom/sun/tools/internal/xjc/XJCListener;
2 8 2 arg Ljava/lang/String;
11 140 2 opt Lcom/sun/tools/internal/xjc/Driver$OptionsEx;
19 23 3 e Lcom/sun/tools/internal/xjc/BadCommandLineException;
26 140 3 contextClassLoader Ljava/lang/ClassLoader;
30 129 4 hadWarning [Z
31 129 5 receiver Lcom/sun/tools/internal/xjc/ErrorReceiver;
33 44 6 loader Lcom/sun/tools/internal/xjc/ModelLoader;
34 38 7 forest Lcom/sun/tools/internal/xjc/reader/internalizer/DOMForest;
40 41 7 e Ljava/io/IOException;
46 61 6 xss Lcom/sun/xml/internal/xsom/XSSchemaSet;
47 61 7 it Ljava/util/Iterator<Lcom/sun/xml/internal/xsom/XSComplexType;>;
49 57 8 ct Lcom/sun/xml/internal/xsom/XSComplexType;
50 57 9 p Lcom/sun/xml/internal/xsom/XSParticle;
52 57 10 tree Lcom/sun/tools/internal/xjc/reader/gbind/Expression;
55 57 11 g Lcom/sun/tools/internal/xjc/reader/gbind/Graph;
66 129 6 model Lcom/sun/tools/internal/xjc/model/Model;
81 85 7 e Ljava/io/IOException;
87 95 7 outline Lcom/sun/tools/internal/xjc/outline/Outline;
103 104 7 cw Lcom/sun/codemodel/internal/CodeWriter;
105 108 7 cw Lcom/sun/codemodel/internal/CodeWriter;
100 101 8 os Ljava/io/OutputStream;
102 103 8 os Ljava/io/OutputStream;
110 114 7 e Ljava/io/IOException;
122 126 7 e Ljava/io/IOException;
130 136 4 e Ljava/lang/StackOverflowError;
Exception table:
from to target type
12 13 14 Class com.sun.tools.internal.xjc.Driver$WeAreDone
12 13 18 Class com.sun.tools.internal.xjc.BadCommandLineException
33 35 38 Class org.xml.sax.SAXException
33 35 39 Class java.io.IOException
45 58 61 Class org.xml.sax.SAXException
74 77 80 Class java.io.IOException
97 108 109 Class java.io.IOException
116 120 121 Class java.io.IOException
27 35 129 Class java.lang.StackOverflowError
38 41 129 Class java.lang.StackOverflowError
44 58 129 Class java.lang.StackOverflowError
61 62 129 Class java.lang.StackOverflowError
65 68 129 Class java.lang.StackOverflowError
71 77 129 Class java.lang.StackOverflowError
80 82 129 Class java.lang.StackOverflowError
85 91 129 Class java.lang.StackOverflowError
94 111 129 Class java.lang.StackOverflowError
114 123 129 Class java.lang.StackOverflowError
27 35 136 any
38 41 136 any
44 58 136 any
61 62 136 any
65 68 136 any
71 77 136 any
80 82 136 any
85 91 136 any
94 111 136 any
114 123 136 any
129 133 136 any
Exceptions:
throws com.sun.tools.internal.xjc.BadCommandLineException
RuntimeInvisibleParameterAnnotations:
0:
1:
com.sun.istack.internal.NotNull()
MethodParameters:
Name Flags
args
listener final
public static java.lang.String getBuildID();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "Driver.BuildID"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void usage(com.sun.tools.internal.xjc.Options, boolean);
descriptor: (Lcom/sun/tools/internal/xjc/Options;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Driver.Public.Usage"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: iload 1
ifeq 3
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Driver.Private.Usage"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
ifnull 9
aload 0
invokevirtual com.sun.tools.internal.xjc.Options.getAllPlugins:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 9
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Driver.AddonUsage"
iconst_0
anewarray java.lang.Object
invokestatic com.sun.tools.internal.xjc.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 0
invokevirtual com.sun.tools.internal.xjc.Options.getAllPlugins:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.sun.tools.internal.xjc.Options int top java.util.Iterator
StackMap stack:
6: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.internal.xjc.Plugin
astore 2
start local 2 7: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 2
invokevirtual com.sun.tools.internal.xjc.Plugin.getUsage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: StackMap locals: com.sun.tools.internal.xjc.Options int
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 opts Lcom/sun/tools/internal/xjc/Options;
0 10 1 privateUsage Z
7 8 2 p Lcom/sun/tools/internal/xjc/Plugin;
RuntimeInvisibleParameterAnnotations:
0:
com.sun.istack.internal.Nullable()
1:
MethodParameters:
Name Flags
opts
privateUsage
static int[] $SWITCH_TABLE$com$sun$tools$internal$xjc$Driver$Mode();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.tools.internal.xjc.Driver.$SWITCH_TABLE$com$sun$tools$internal$xjc$Driver$Mode:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.tools.internal.xjc.Driver$Mode.values:()[Lcom/sun/tools/internal/xjc/Driver$Mode;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.tools.internal.xjc.Driver$Mode.CODE:Lcom/sun/tools/internal/xjc/Driver$Mode;
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.tools.internal.xjc.Driver$Mode.DRYRUN:Lcom/sun/tools/internal/xjc/Driver$Mode;
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.tools.internal.xjc.Driver$Mode.FOREST:Lcom/sun/tools/internal/xjc/Driver$Mode;
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.tools.internal.xjc.Driver$Mode.GBIND:Lcom/sun/tools/internal/xjc/Driver$Mode;
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.ordinal:()I
bipush 6
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic com.sun.tools.internal.xjc.Driver$Mode.SIGNATURE:Lcom/sun/tools/internal/xjc/Driver$Mode;
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.ordinal:()I
iconst_2
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic com.sun.tools.internal.xjc.Driver$Mode.ZIP:Lcom/sun/tools/internal/xjc/Driver$Mode;
invokevirtual com.sun.tools.internal.xjc.Driver$Mode.ordinal:()I
iconst_5
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
dup
putstatic com.sun.tools.internal.xjc.Driver.$SWITCH_TABLE$com$sun$tools$internal$xjc$Driver$Mode:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
}
SourceFile: "Driver.java"
NestMembers:
com.sun.tools.internal.xjc.Driver$1 com.sun.tools.internal.xjc.Driver$1Listener com.sun.tools.internal.xjc.Driver$2 com.sun.tools.internal.xjc.Driver$3 com.sun.tools.internal.xjc.Driver$4 com.sun.tools.internal.xjc.Driver$Mode com.sun.tools.internal.xjc.Driver$OptionsEx com.sun.tools.internal.xjc.Driver$WeAreDone
InnerClasses:
com.sun.tools.internal.xjc.Driver$1
Listener = com.sun.tools.internal.xjc.Driver$1Listener
com.sun.tools.internal.xjc.Driver$2
com.sun.tools.internal.xjc.Driver$3
com.sun.tools.internal.xjc.Driver$4
private final Mode = com.sun.tools.internal.xjc.Driver$Mode of com.sun.tools.internal.xjc.Driver
OptionsEx = com.sun.tools.internal.xjc.Driver$OptionsEx of com.sun.tools.internal.xjc.Driver
private final WeAreDone = com.sun.tools.internal.xjc.Driver$WeAreDone of com.sun.tools.internal.xjc.Driver