public final class com.sun.tools.internal.jxc.SchemaGenerator$Runner
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.internal.jxc.SchemaGenerator$Runner
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 // com.sun.tools.internal.jxc.SchemaGenerator$Runner this
0: .line 231
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.sun.tools.internal.jxc.SchemaGenerator$Runner this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/jxc/SchemaGenerator$Runner;
public static boolean compile(java.lang.String[], java.io.File);
descriptor: ([Ljava/lang/String;Ljava/io/File;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=13, args_size=2
start local 0 // java.lang.String[] args
start local 1 // java.io.File episode
0: .line 234
invokestatic javax.tools.ToolProvider.getSystemJavaCompiler:()Ljavax/tools/JavaCompiler;
astore 2 /* compiler */
start local 2 // javax.tools.JavaCompiler compiler
1: .line 235
new javax.tools.DiagnosticCollector
dup
invokespecial javax.tools.DiagnosticCollector.<init>:()V
astore 3 /* diagnostics */
start local 3 // javax.tools.DiagnosticCollector diagnostics
2: .line 236
aload 2 /* compiler */
aload 3 /* diagnostics */
aconst_null
aconst_null
invokeinterface javax.tools.JavaCompiler.getStandardFileManager:(Ljavax/tools/DiagnosticListener;Ljava/util/Locale;Ljava/nio/charset/Charset;)Ljavax/tools/StandardJavaFileManager;
astore 4 /* fileManager */
start local 4 // javax.tools.StandardJavaFileManager fileManager
3: .line 237
aload 2 /* compiler */
aload 4 /* fileManager */
aload 0 /* args */
invokestatic com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions.parse:(Ljavax/tools/OptionChecker;Ljavax/tools/OptionChecker;[Ljava/lang/String;)Lcom/sun/tools/internal/jxc/SchemaGenerator$JavacOptions;
astore 5 /* options */
start local 5 // com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions options
4: .line 238
aload 5 /* options */
invokevirtual com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions.getUnrecognizedOptions:()Ljava/util/List;
astore 6 /* unrecognizedOptions */
start local 6 // java.util.List unrecognizedOptions
5: .line 239
aload 6 /* unrecognizedOptions */
invokeinterface java.util.List.isEmpty:()Z
ifne 7
6: .line 240
getstatic com.sun.tools.internal.jxc.SchemaGenerator.LOGGER:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.WARNING:Ljava/util/logging/Level;
ldc "Unrecognized options found: {0}"
aload 6 /* unrecognizedOptions */
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Object;)V
7: .line 242
StackMap locals: java.lang.String[] java.io.File javax.tools.JavaCompiler javax.tools.DiagnosticCollector javax.tools.StandardJavaFileManager com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions java.util.List
StackMap stack:
aload 4 /* fileManager */
aload 5 /* options */
invokevirtual com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions.getFiles:()Ljava/util/List;
invokeinterface javax.tools.StandardJavaFileManager.getJavaFileObjectsFromFiles:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
astore 7 /* compilationUnits */
start local 7 // java.lang.Iterable compilationUnits
8: .line 243
aload 2 /* compiler */
9: .line 244
aconst_null
10: .line 245
aload 4 /* fileManager */
11: .line 246
aload 3 /* diagnostics */
12: .line 247
aload 5 /* options */
invokevirtual com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions.getRecognizedOptions:()Ljava/util/List;
13: .line 248
aload 5 /* options */
invokevirtual com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions.getClassNames:()Ljava/util/List;
14: .line 249
aload 7 /* compilationUnits */
15: .line 243
invokeinterface javax.tools.JavaCompiler.getTask:(Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljavax/tools/JavaCompiler$CompilationTask;
astore 8 /* task */
start local 8 // javax.tools.JavaCompiler$CompilationTask task
16: .line 250
new com.sun.tools.internal.jxc.ap.SchemaGenerator
dup
invokespecial com.sun.tools.internal.jxc.ap.SchemaGenerator.<init>:()V
astore 9 /* r */
start local 9 // com.sun.tools.internal.jxc.ap.SchemaGenerator r
17: .line 251
aload 1 /* episode */
ifnull 19
18: .line 252
aload 9 /* r */
aload 1 /* episode */
invokevirtual com.sun.tools.internal.jxc.ap.SchemaGenerator.setEpisodeFile:(Ljava/io/File;)V
19: .line 253
StackMap locals: java.lang.Iterable javax.tools.JavaCompiler$CompilationTask com.sun.tools.internal.jxc.ap.SchemaGenerator
StackMap stack:
aload 8 /* task */
aload 9 /* r */
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface javax.tools.JavaCompiler$CompilationTask.setProcessors:(Ljava/lang/Iterable;)V
20: .line 254
aload 8 /* task */
invokeinterface javax.tools.JavaCompiler$CompilationTask.call:()Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 10 /* res */
start local 10 // boolean res
21: .line 256
aload 3 /* diagnostics */
invokevirtual javax.tools.DiagnosticCollector.getDiagnostics:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 24
StackMap locals: java.lang.String[] java.io.File javax.tools.JavaCompiler javax.tools.DiagnosticCollector javax.tools.StandardJavaFileManager com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions java.util.List java.lang.Iterable javax.tools.JavaCompiler$CompilationTask com.sun.tools.internal.jxc.ap.SchemaGenerator int top java.util.Iterator
StackMap stack:
22: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.Diagnostic
astore 11 /* d */
start local 11 // javax.tools.Diagnostic d
23: .line 257
getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 11 /* d */
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 11 // javax.tools.Diagnostic d
24: .line 256
StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
25: .line 259
iload 10 /* res */
ireturn
end local 10 // boolean res
end local 9 // com.sun.tools.internal.jxc.ap.SchemaGenerator r
end local 8 // javax.tools.JavaCompiler$CompilationTask task
end local 7 // java.lang.Iterable compilationUnits
end local 6 // java.util.List unrecognizedOptions
end local 5 // com.sun.tools.internal.jxc.SchemaGenerator$JavacOptions options
end local 4 // javax.tools.StandardJavaFileManager fileManager
end local 3 // javax.tools.DiagnosticCollector diagnostics
end local 2 // javax.tools.JavaCompiler compiler
end local 1 // java.io.File episode
end local 0 // java.lang.String[] args
LocalVariableTable:
Start End Slot Name Signature
0 26 0 args [Ljava/lang/String;
0 26 1 episode Ljava/io/File;
1 26 2 compiler Ljavax/tools/JavaCompiler;
2 26 3 diagnostics Ljavax/tools/DiagnosticCollector<Ljavax/tools/JavaFileObject;>;
3 26 4 fileManager Ljavax/tools/StandardJavaFileManager;
4 26 5 options Lcom/sun/tools/internal/jxc/SchemaGenerator$JavacOptions;
5 26 6 unrecognizedOptions Ljava/util/List<Ljava/lang/String;>;
8 26 7 compilationUnits Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;
16 26 8 task Ljavax/tools/JavaCompiler$CompilationTask;
17 26 9 r Lcom/sun/tools/internal/jxc/ap/SchemaGenerator;
21 26 10 res Z
23 24 11 d Ljavax/tools/Diagnostic<+Ljavax/tools/JavaFileObject;>;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
args
episode
}
SourceFile: "SchemaGenerator.java"
NestHost: com.sun.tools.internal.jxc.SchemaGenerator
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
public abstract CompilationTask = javax.tools.JavaCompiler$CompilationTask of javax.tools.JavaCompiler