public class jdk.javadoc.internal.api.JavadocTool implements javax.tools.DocumentationTool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.api.JavadocTool
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 Ljdk/javadoc/internal/api/JavadocTool;
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 "javadoc"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/javadoc/internal/api/JavadocTool;
public javax.tools.DocumentationTool$DocumentationTask getTask(java.io.Writer, javax.tools.JavaFileManager, javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>, java.lang.Class<?>, 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/Class;Ljava/lang/Iterable;Ljava/lang/Iterable;)Ljavax/tools/DocumentationTool$DocumentationTask;
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
aload 7
3: invokevirtual jdk.javadoc.internal.api.JavadocTool.getTask:(Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener;Ljava/lang/Class;Ljava/lang/Iterable;Ljava/lang/Iterable;Lcom/sun/tools/javac/util/Context;)Ljavax/tools/DocumentationTool$DocumentationTask;
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 4 0 this Ljdk/javadoc/internal/api/JavadocTool;
0 4 1 out Ljava/io/Writer;
0 4 2 fileManager Ljavax/tools/JavaFileManager;
0 4 3 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 4 4 docletClass Ljava/lang/Class<*>;
0 4 5 options Ljava/lang/Iterable<Ljava/lang/String;>;
0 4 6 compilationUnits Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;
1 4 7 context Lcom/sun/tools/javac/util/Context;
Signature: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/lang/Class<*>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;)Ljavax/tools/DocumentationTool$DocumentationTask;
MethodParameters:
Name Flags
out
fileManager
diagnosticListener
docletClass
options
compilationUnits
public javax.tools.DocumentationTool$DocumentationTask getTask(java.io.Writer, javax.tools.JavaFileManager, javax.tools.DiagnosticListener<? super javax.tools.JavaFileObject>, java.lang.Class<?>, 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/Class;Ljava/lang/Iterable;Ljava/lang/Iterable;Lcom/sun/tools/javac/util/Context;)Ljavax/tools/DocumentationTool$DocumentationTask;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, 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 5
ifnull 6
2: aload 5
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 5
StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Class 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: jdk.javadoc.internal.api.JavadocTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Class java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper
StackMap stack:
aload 6
ifnull 13
7: aload 8
aload 6
invokevirtual com.sun.tools.javac.api.ClientCodeWrapper.wrapJavaFileObjects:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
astore 6
8: aload 6
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 10
goto 12
StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Class java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper top java.util.Iterator
StackMap stack:
9: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.JavaFileObject
astore 9
start local 9 10: aload 9
invokeinterface javax.tools.JavaFileObject.getKind:()Ljavax/tools/JavaFileObject$Kind;
getstatic javax.tools.JavaFileObject$Kind.SOURCE:Ljavax/tools/JavaFileObject$Kind;
if_acmpeq 12
11: new java.lang.IllegalArgumentException
dup
ldc "All compilation units must be of SOURCE kind"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 9 12: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
13: StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Class java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context com.sun.tools.javac.api.ClientCodeWrapper
StackMap stack:
aload 3
ifnull 15
14: 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
15: StackMap locals:
StackMap stack:
aload 1
ifnonnull 17
16: 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 20
17: StackMap locals:
StackMap stack:
aload 1
instanceof java.io.PrintWriter
ifeq 19
18: aload 7
getstatic com.sun.tools.javac.util.Log.errKey:Lcom/sun/tools/javac/util/Context$Key;
aload 1
checkcast java.io.PrintWriter
invokevirtual com.sun.tools.javac.util.Context.put:(Lcom/sun/tools/javac/util/Context$Key;Ljava/lang/Object;)V
goto 20
19: 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
20: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
21: aload 0
aload 3
aconst_null
aconst_null
invokevirtual jdk.javadoc.internal.api.JavadocTool.getStandardFileManager:(Ljavax/tools/DiagnosticListener;Ljava/util/Locale;Ljava/nio/charset/Charset;)Ljavax/tools/StandardJavaFileManager;
astore 2
22: aload 2
instanceof com.sun.tools.javac.file.BaseFileManager
ifeq 24
23: aload 2
checkcast com.sun.tools.javac.file.BaseFileManager
iconst_1
putfield com.sun.tools.javac.file.BaseFileManager.autoClose:Z
24: StackMap locals:
StackMap stack:
aload 8
aload 2
invokevirtual com.sun.tools.javac.api.ClientCodeWrapper.wrap:(Ljavax/tools/JavaFileManager;)Ljavax/tools/JavaFileManager;
astore 2
25: aload 7
ldc Ljavax/tools/JavaFileManager;
aload 2
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
26: new jdk.javadoc.internal.api.JavadocTaskImpl
dup
aload 7
aload 4
aload 5
aload 6
invokespecial jdk.javadoc.internal.api.JavadocTaskImpl.<init>:(Lcom/sun/tools/javac/util/Context;Ljava/lang/Class;Ljava/lang/Iterable;Ljava/lang/Iterable;)V
27: areturn
end local 8 28: StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.Writer javax.tools.JavaFileManager javax.tools.DiagnosticListener java.lang.Class java.lang.Iterable java.lang.Iterable com.sun.tools.javac.util.Context
StackMap stack: com.sun.tools.javac.util.ClientCodeException
astore 8
start local 8 29: 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 30 0 this Ljdk/javadoc/internal/api/JavadocTool;
0 30 1 out Ljava/io/Writer;
0 30 2 fileManager Ljavax/tools/JavaFileManager;
0 30 3 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 30 4 docletClass Ljava/lang/Class<*>;
0 30 5 options Ljava/lang/Iterable<Ljava/lang/String;>;
0 30 6 compilationUnits Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;
0 30 7 context Lcom/sun/tools/javac/util/Context;
1 28 8 ccw Lcom/sun/tools/javac/api/ClientCodeWrapper;
4 5 9 option Ljava/lang/String;
10 12 9 cu Ljavax/tools/JavaFileObject;
29 30 8 ex Lcom/sun/tools/javac/util/ClientCodeException;
Exception table:
from to target type
0 27 28 Class com.sun.tools.javac.util.ClientCodeException
Signature: (Ljava/io/Writer;Ljavax/tools/JavaFileManager;Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/lang/Class<*>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;Lcom/sun/tools/javac/util/Context;)Ljavax/tools/DocumentationTool$DocumentationTask;
MethodParameters:
Name Flags
out
fileManager
diagnosticListener
docletClass
options
compilationUnits
context
public javax.tools.StandardJavaFileManager 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;)Ljavax/tools/StandardJavaFileManager;
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: 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 10 0 this Ljdk/javadoc/internal/api/JavadocTool;
0 10 1 diagnosticListener Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;
0 10 2 locale Ljava/util/Locale;
0 10 3 charset Ljava/nio/charset/Charset;
1 10 4 context Lcom/sun/tools/javac/util/Context;
8 10 5 pw Ljava/io/PrintWriter;
Signature: (Ljavax/tools/DiagnosticListener<-Ljavax/tools/JavaFileObject;>;Ljava/util/Locale;Ljava/nio/charset/Charset;)Ljavax/tools/StandardJavaFileManager;
MethodParameters:
Name Flags
diagnosticListener
locale
charset
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=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.io.PrintWriter
dup
aload 3
ifnonnull 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 2
StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.InputStream java.io.OutputStream java.io.OutputStream java.lang.String[]
StackMap stack: new 0 new 0
1: aload 3
StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.InputStream java.io.OutputStream java.io.OutputStream java.lang.String[]
StackMap stack: new 0 new 0 java.io.OutputStream
2: iconst_1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;Z)V
astore 5
start local 5 3: new java.io.PrintWriter
dup
aload 2
ifnonnull 4
getstatic java.lang.System.out:Ljava/io/PrintStream;
goto 5
StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.InputStream java.io.OutputStream java.io.OutputStream java.lang.String[] java.io.PrintWriter
StackMap stack: new 3 new 3
4: aload 2
StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.InputStream java.io.OutputStream java.io.OutputStream java.lang.String[] java.io.PrintWriter
StackMap stack: new 3 new 3 java.io.OutputStream
5: invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
astore 6
start local 6 6: aload 4
aload 5
invokestatic jdk.javadoc.internal.tool.Main.execute:([Ljava/lang/String;Ljava/io/PrintWriter;)I
istore 8
7: aload 5
invokevirtual java.io.PrintWriter.flush:()V
8: aload 6
invokevirtual java.io.PrintWriter.flush:()V
9: iload 8
ireturn
10: StackMap locals: jdk.javadoc.internal.api.JavadocTool java.io.InputStream java.io.OutputStream java.io.OutputStream java.lang.String[] java.io.PrintWriter java.io.PrintWriter
StackMap stack: java.lang.Throwable
astore 7
11: aload 5
invokevirtual java.io.PrintWriter.flush:()V
12: aload 6
invokevirtual java.io.PrintWriter.flush:()V
13: aload 7
athrow
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 14 0 this Ljdk/javadoc/internal/api/JavadocTool;
0 14 1 in Ljava/io/InputStream;
0 14 2 out Ljava/io/OutputStream;
0 14 3 err Ljava/io/OutputStream;
0 14 4 arguments [Ljava/lang/String;
3 14 5 err_pw Ljava/io/PrintWriter;
6 14 6 out_pw Ljava/io/PrintWriter;
Exception table:
from to target type
6 7 10 any
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;
invokestatic javax.lang.model.SourceVersion.latest:()Ljavax/lang/model/SourceVersion;
invokestatic java.util.EnumSet.range:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
1: invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/javadoc/internal/api/JavadocTool;
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=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.javadoc.internal.tool.ToolOptions.isSupportedOption:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/javadoc/internal/api/JavadocTool;
0 3 1 option Ljava/lang/String;
MethodParameters:
Name Flags
option
}
SourceFile: "JavadocTool.java"
InnerClasses:
public Key = com.sun.tools.javac.util.Context$Key of com.sun.tools.javac.util.Context
public abstract DocumentationTask = javax.tools.DocumentationTool$DocumentationTask of javax.tools.DocumentationTool
public final Kind = javax.tools.JavaFileObject$Kind of javax.tools.JavaFileObject