public final class com.sun.tools.javac.api.JavacTool implements javax.tools.JavaCompiler
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.javac.api.JavacTool
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/javac/api/JavacTool;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "javac"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/javac/api/JavacTool;
public static com.sun.tools.javac.api.JavacTool create();
descriptor: ()Lcom/sun/tools/javac/api/JavacTool;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.tools.javac.api.JavacTool
dup
invokespecial com.sun.tools.javac.api.JavacTool.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.sun.tools.javac.file.JavacFileManager getStandardFileManager(javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>, java.util.Locale, java.nio.charset.Charset);
descriptor: (Ljavax/tools/DiagnosticListener;Ljava/util/Locale;Ljava/nio/charset/Charset;)Lcom/sun/tools/javac/file/JavacFileManager;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.sun.tools.javac.util.Context
dup
invokespecial com.sun.tools.javac.util.Context.<init>:()V
astore 4
start local 4 1: aload 4
ldc Ljava/util/Locale;
aload 2
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
2: aload 1
ifnull 4
3: aload 4
ldc Ljavax/tools/DiagnosticListener;
aload 1
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
4: StackMap locals: com.sun.tools.javac.util.Context
StackMap stack:
aload 3
ifnonnull 6
5: new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
goto 7
6: StackMap locals:
StackMap stack:
new java.io.PrintWriter
dup
new java.io.OutputStreamWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 3
invokespecial java.io.OutputStreamWriter.<init>:(Ljava/io/OutputStream;Ljava/nio/charset/Charset;)V
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;Z)V
7: StackMap locals:
StackMap stack: java.io.PrintWriter
astore 5
start local 5 8: aload 4
getstatic com.sun.tools.javac.util.Log.errKey:Lcom/sun/tools/javac/util/Context$Key;
aload 5
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Ljava/lang/Object;)V
9: aload 4
invokestatic com.sun.tools.javac.file.CacheFSInfo.preRegister:(Lcom/sun/tools/javac/util/Context;)V
10: new com.sun.tools.javac.file.JavacFileManager
dup
aload 4
iconst_1
aload 3
invokespecial com.sun.tools.javac.file.JavacFileManager.<init>:(Lcom/sun/tools/javac/util/Context;ZLjava/nio/charset/Charset;)V
areturn
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 11 0 this Lcom/sun/tools/javac/api/JavacTool;
0 11 1 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 11 2 locale Ljava/util/Locale;
0 11 3 charset Ljava/nio/charset/Charset;
1 11 4 context Lcom/sun/tools/javac/util/Context;
8 11 5 pw Ljava/io/PrintWriter;
Signature: (Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/util/Locale;Ljava/nio/charset/Charset;)Lcom/sun/tools/javac/file/JavacFileManager;
MethodParameters:
Name Flags
diagnosticListener
locale
charset
public com.sun.source.util.JavacTask getTask(java.io.Writer, javax.tools.JavaFileManager, javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>, java.lang.Iterable<? extends javax.tools.JavaFileObject>);
descriptor: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/sun/source/util/JavacTask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new com.sun.tools.javac.util.Context
dup
invokespecial com.sun.tools.javac.util.Context.<init>:()V
astore 7
start local 7 1: aload 0
aload 1
aload 2
aload 3
2: aload 4
aload 5
aload 6
3: aload 7
4: invokevirtual com.sun.tools.javac.api.JavacTool.getTask:(Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;Lcom/sun/tools/javac/util/Context;)Lcom/sun/source/util/JavacTask;
areturn
end local 7 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 5 0 this Lcom/sun/tools/javac/api/JavacTool;
0 5 1 out Ljava/io/Writer;
0 5 2 fileManager Ljavax/tools/JavaFileManager;
0 5 3 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 5 4 options Ljava/lang/Iterable<Ljava/lang/String;>;
0 5 5 classes Ljava/lang/Iterable<Ljava/lang/String;>;
0 5 6 compilationUnits Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;
1 5 7 context Lcom/sun/tools/javac/util/Context;
Signature: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;)Lcom/sun/source/util/JavacTask;
MethodParameters:
Name Flags
out
fileManager
diagnosticListener
options
classes
compilationUnits
public com.sun.source.util.JavacTask getTask(java.io.Writer, javax.tools.JavaFileManager, javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>, java.lang.Iterable<java.lang.String>, java.lang.Iterable<java.lang.String>, java.lang.Iterable<? extends javax.tools.JavaFileObject>, com.sun.tools.javac.util.Context);
descriptor: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;Lcom/sun/tools/javac/util/Context;)Lcom/sun/source/util/JavacTask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=13, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 7
invokestatic com.sun.tools.javac.api.ClientCodeWrapper.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/api/ClientCodeWrapper;
astore 8
start local 8 1: aload 4
ifnull 6
2: aload 4
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 5
StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper top java.util.Iterator
StackMap stack:
3: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 4: aload 9
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 5: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper
StackMap stack:
aload 5
ifnull 18
7: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 17
StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper top java.util.Iterator
StackMap stack:
8: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 9: aload 9
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 11
start local 11 10: iload 11
ifle 15
11: aload 9
iconst_0
iload 11
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 12
start local 12 12: aload 12
invokestatic javax.lang.model.SourceVersion.isName:(Ljava/lang/CharSequence;)Z
ifne 14
13: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Not a valid module name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper java.lang.String java.util.Iterator int java.lang.String
StackMap stack:
aload 9
iload 11
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
end local 12 15: StackMap locals:
StackMap stack:
aload 9
invokestatic javax.lang.model.SourceVersion.isName:(Ljava/lang/CharSequence;)Z
ifne 17
16: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Not a valid class name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 11 end local 9 17: StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
18: StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper
StackMap stack:
aload 6
ifnull 28
19: aload 8
aload 6
invokevirtual com.sun.tools.javac.api.ClientCodeWrapper.wrapJavaFileObjects:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
astore 6
20: aload 6
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 27
StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper top java.util.Iterator
StackMap stack:
21: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.JavaFileObject
astore 9
start local 9 22: aload 9
invokeinterface javax.tools.JavaFileObject.getKind:()Ljavax/tools/JavaFileObject$Kind;
getstatic javax.tools.JavaFileObject$Kind.SOURCE:Ljavax/tools/JavaFileObject$Kind;
if_acmpeq 27
23: new java.lang.StringBuilder
dup
ldc "Compilation unit is not of SOURCE kind: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: aload 9
invokeinterface javax.tools.JavaFileObject.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 11
start local 11 26: new java.lang.IllegalArgumentException
dup
aload 11
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 11 end local 9 27: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
28: StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper
StackMap stack:
aload 3
ifnull 30
29: aload 7
ldc Ljavax/tools/DiagnosticListener;
aload 8
aload 3
invokevirtual com.sun.tools.javac.api.ClientCodeWrapper.wrap:(Ljavax/tools/DiagnosticListener;)Ljavax/tools/DiagnosticListener;
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
30: StackMap locals:
StackMap stack:
aload 1
ifnonnull 32
31: aload 7
getstatic com.sun.tools.javac.util.Log.errKey:Lcom/sun/tools/javac/util/Context$Key;
new java.io.PrintWriter
dup
getstatic java.lang.System.err:Ljava/io/PrintStream;
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Ljava/lang/Object;)V
goto 33
32: StackMap locals:
StackMap stack:
aload 7
getstatic com.sun.tools.javac.util.Log.errKey:Lcom/sun/tools/javac/util/Context$Key;
new java.io.PrintWriter
dup
aload 1
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;Z)V
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Ljava/lang/Object;)V
33: StackMap locals:
StackMap stack:
aload 2
ifnonnull 37
34: aload 0
aload 3
aconst_null
aconst_null
invokevirtual com.sun.tools.javac.api.JavacTool.getStandardFileManager:(Ljavax/tools/DiagnosticListener;Ljava/util/Locale;Ljava/nio/charset/Charset;)Lcom/sun/tools/javac/file/JavacFileManager;
astore 2
35: aload 2
instanceof com.sun.tools.javac.file.BaseFileManager
ifeq 37
36: aload 2
checkcast com.sun.tools.javac.file.BaseFileManager
iconst_1
putfield com.sun.tools.javac.file.BaseFileManager.autoClose:Z
37: StackMap locals:
StackMap stack:
aload 8
aload 2
invokevirtual com.sun.tools.javac.api.ClientCodeWrapper.wrap:(Ljavax/tools/JavaFileManager;)Ljavax/tools/JavaFileManager;
astore 2
38: aload 7
ldc Ljavax/tools/JavaFileManager;
aload 2
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
39: aload 7
invokestatic com.sun.tools.javac.main.Arguments.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Arguments;
astore 9
start local 9 40: aload 9
ldc "javac"
aload 4
aload 5
aload 6
invokevirtual com.sun.tools.javac.main.Arguments.init:(Ljava/lang/String;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)V
41: aload 2
getstatic com.sun.tools.javac.main.Option.MULTIRELEASE:Lcom/sun/tools/javac/main/Option;
getfield com.sun.tools.javac.main.Option.primaryName:Ljava/lang/String;
invokeinterface javax.tools.JavaFileManager.isSupportedOption:(Ljava/lang/String;)I
iconst_1
if_icmpne 45
42: aload 7
invokestatic com.sun.tools.javac.jvm.Target.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/jvm/Target;
astore 10
start local 10 43: aload 10
invokevirtual com.sun.tools.javac.jvm.Target.multiReleaseValue:()Ljava/lang/String;
invokestatic com.sun.tools.javac.util.List.of:(Ljava/lang/Object;)Lcom/sun/tools/javac/util/List;
astore 11
start local 11 44: aload 2
getstatic com.sun.tools.javac.main.Option.MULTIRELEASE:Lcom/sun/tools/javac/main/Option;
getfield com.sun.tools.javac.main.Option.primaryName:Ljava/lang/String;
aload 11
invokevirtual com.sun.tools.javac.util.List.iterator:()Ljava/util/Iterator;
invokeinterface javax.tools.JavaFileManager.handleOption:(Ljava/lang/String;Ljava/util/Iterator;)Z
pop
end local 11 end local 10 45: StackMap locals: com.sun.tools.javac.main.Arguments
StackMap stack:
new com.sun.tools.javac.api.JavacTaskImpl
dup
aload 7
invokespecial com.sun.tools.javac.api.JavacTaskImpl.<init>:(Lcom/sun/tools/javac/util/Context;)V
46: areturn
end local 9 end local 8 47: StackMap locals: com.sun.tools.javac.api.JavacTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Iterable java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context
StackMap stack: com.sun.tools.javac.util.PropagatedException
astore 8
start local 8 48: aload 8
invokevirtual com.sun.tools.javac.util.PropagatedException.getCause:()Ljava/lang/RuntimeException;
athrow
end local 8 49: StackMap locals:
StackMap stack: com.sun.tools.javac.util.ClientCodeException
astore 8
start local 8 50: new java.lang.RuntimeException
dup
aload 8
invokevirtual com.sun.tools.javac.util.ClientCodeException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 end local 7 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 51 0 this Lcom/sun/tools/javac/api/JavacTool;
0 51 1 out Ljava/io/Writer;
0 51 2 fileManager Ljavax/tools/JavaFileManager;
0 51 3 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 51 4 options Ljava/lang/Iterable<Ljava/lang/String;>;
0 51 5 classes Ljava/lang/Iterable<Ljava/lang/String;>;
0 51 6 compilationUnits Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;
0 51 7 context Lcom/sun/tools/javac/util/Context;
1 47 8 ccw Lcom/sun/tools/javac/api/ClientCodeWrapper;
4 5 9 option Ljava/lang/String;
9 17 9 cls Ljava/lang/String;
10 17 11 sep I
12 15 12 mod Ljava/lang/String;
22 27 9 cu Ljavax/tools/JavaFileObject;
26 27 11 kindMsg Ljava/lang/String;
40 47 9 args Lcom/sun/tools/javac/main/Arguments;
43 45 10 target Lcom/sun/tools/javac/jvm/Target;
44 45 11 list Lcom/sun/tools/javac/util/List<Ljava/lang/String;>;
48 49 8 ex Lcom/sun/tools/javac/util/PropagatedException;
50 51 8 ex Lcom/sun/tools/javac/util/ClientCodeException;
Exception table:
from to target type
0 46 47 Class com.sun.tools.javac.util.PropagatedException
0 46 49 Class com.sun.tools.javac.util.ClientCodeException
Signature: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;Lcom/sun/tools/javac/util/Context;)Lcom/sun/source/util/JavacTask;
MethodParameters:
Name Flags
out
fileManager
diagnosticListener
options
classes
compilationUnits
context
public int run(java.io.InputStream, java.io.OutputStream, java.io.OutputStream, java.lang.String[]);
descriptor: (Ljava/io/InputStream;Ljava/io/OutputStream;Ljava/io/OutputStream;[Ljava/lang/String;)I
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnonnull 2
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
astore 3
2: StackMap locals:
StackMap stack:
aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 6
StackMap locals: com.sun.tools.javac.api.JavacTool java.io.InputStream java.io.OutputStream java.io.OutputStream java.lang.String[] top int int java.lang.String[]
StackMap stack:
3: aload 8
iload 6
aaload
astore 5
start local 5 4: aload 5
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 5: iinc 6 1
StackMap locals:
StackMap stack:
6: iload 6
iload 7
if_icmplt 3
7: aload 4
new java.io.PrintWriter
dup
aload 3
iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
invokestatic com.sun.tools.javac.Main.compile:([Ljava/lang/String;Ljava/io/PrintWriter;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/tools/javac/api/JavacTool;
0 8 1 in Ljava/io/InputStream;
0 8 2 out Ljava/io/OutputStream;
0 8 3 err Ljava/io/OutputStream;
0 8 4 arguments [Ljava/lang/String;
4 5 5 argument Ljava/lang/String;
MethodParameters:
Name Flags
in
out
err
arguments
public java.util.Set<javax.lang.model.SourceVersion> getSourceVersions();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic javax.lang.model.SourceVersion.RELEASE_3:Ljavax/lang/model/SourceVersion;
1: invokestatic javax.lang.model.SourceVersion.latest:()Ljavax/lang/model/SourceVersion;
2: invokestatic java.util.EnumSet.range:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/javac/api/JavacTool;
Signature: ()Ljava/util/Set<Ljavax/lang/model/SourceVersion;>;
public int isSupportedOption(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: invokestatic com.sun.tools.javac.main.Option.getJavacToolOptions:()Ljava/util/Set;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.sun.tools.javac.api.JavacTool java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.main.Option
astore 3
start local 3 3: aload 3
aload 1
invokevirtual com.sun.tools.javac.main.Option.matches:(Ljava/lang/String;)Z
ifeq 7
4: aload 3
invokevirtual com.sun.tools.javac.main.Option.hasArg:()Z
ifeq 5
iconst_1
goto 6
StackMap locals: com.sun.tools.javac.api.JavacTool java.lang.String java.util.Set com.sun.tools.javac.main.Option java.util.Iterator
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: ireturn
end local 3 7: StackMap locals: com.sun.tools.javac.api.JavacTool java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: iconst_m1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/tools/javac/api/JavacTool;
0 9 1 option Ljava/lang/String;
1 9 2 recognizedOptions Ljava/util/Set<Lcom/sun/tools/javac/main/Option;>;
3 7 3 o Lcom/sun/tools/javac/main/Option;
MethodParameters:
Name Flags
option
public javax.tools.JavaCompiler$CompilationTask getTask(java.io.Writer, javax.tools.JavaFileManager, javax.tools.DiagnosticListener, java.lang.Iterable, java.lang.Iterable, java.lang.Iterable);
descriptor: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljavax/tools/JavaCompiler$CompilationTask;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=7, locals=7, args_size=7
0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
invokevirtual com.sun.tools.javac.api.JavacTool.getTask:(Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Iterable;Ljava/lang/Iterable;Ljava/lang/Iterable;)Lcom/sun/source/util/JavacTask;
areturn
LocalVariableTable:
Start End Slot Name Signature
public javax.tools.StandardJavaFileManager getStandardFileManager(javax.tools.DiagnosticListener, java.util.Locale, java.nio.charset.Charset);
descriptor: (Ljavax/tools/DiagnosticListener;Ljava/util/Locale;Ljava/nio/charset/Charset;)Ljavax/tools/StandardJavaFileManager;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
aload 3
invokevirtual com.sun.tools.javac.api.JavacTool.getStandardFileManager:(Ljavax/tools/DiagnosticListener;Ljava/util/Locale;Ljava/nio/charset/Charset;)Lcom/sun/tools/javac/file/JavacFileManager;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JavacTool.java"
InnerClasses:
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context
public abstract CompilationTask = javax.tools.JavaCompiler$CompilationTask of javax.tools.JavaCompiler
public final Kind = javax.tools.JavaFileObject$Kind of javax.tools.JavaFileObject