public class jdk.javadoc.internal.api.JavadocTaskImpl implements javax.tools.DocumentationTool$DocumentationTask
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.api.JavadocTaskImpl
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicBoolean used;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.tools.javac.util.Context context;
descriptor: Lcom/sun/tools/javac/util/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Class<?> docletClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
private java.lang.Iterable<java.lang.String> options;
descriptor: Ljava/lang/Iterable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Iterable<Ljava/lang/String;>;
private java.lang.Iterable<? extends javax.tools.JavaFileObject> fileObjects;
descriptor: Ljava/lang/Iterable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;
private java.util.Locale locale;
descriptor: Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.lang.String> addModules;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/String;>;
public void <init>(com.sun.tools.javac.util.Context, java.lang.Class<?>, java.lang.Iterable<java.lang.String>, java.lang.Iterable<? extends javax.tools.JavaFileObject>);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljava/lang/Class;Ljava/lang/Iterable;Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield jdk.javadoc.internal.api.JavadocTaskImpl.used:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.javadoc.internal.api.JavadocTaskImpl.addModules:Ljava/util/List;
3: aload 0
aload 1
putfield jdk.javadoc.internal.api.JavadocTaskImpl.context:Lcom/sun/tools/javac/util/Context;
4: aload 0
aload 2
putfield jdk.javadoc.internal.api.JavadocTaskImpl.docletClass:Ljava/lang/Class;
5: aload 0
aload 3
ifnonnull 6
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
goto 7
6: StackMap locals: jdk.javadoc.internal.api.JavadocTaskImpl com.sun.tools.javac.util.Context java.lang.Class java.lang.Iterable java.lang.Iterable
StackMap stack: jdk.javadoc.internal.api.JavadocTaskImpl
aload 3
invokestatic jdk.javadoc.internal.api.JavadocTaskImpl.nullCheck:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
7: StackMap locals: jdk.javadoc.internal.api.JavadocTaskImpl com.sun.tools.javac.util.Context java.lang.Class java.lang.Iterable java.lang.Iterable
StackMap stack: jdk.javadoc.internal.api.JavadocTaskImpl java.lang.Iterable
putfield jdk.javadoc.internal.api.JavadocTaskImpl.options:Ljava/lang/Iterable;
8: aload 0
aload 4
ifnonnull 9
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
goto 10
9: StackMap locals:
StackMap stack: jdk.javadoc.internal.api.JavadocTaskImpl
aload 4
invokestatic jdk.javadoc.internal.api.JavadocTaskImpl.nullCheck:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
10: StackMap locals: jdk.javadoc.internal.api.JavadocTaskImpl com.sun.tools.javac.util.Context java.lang.Class java.lang.Iterable java.lang.Iterable
StackMap stack: jdk.javadoc.internal.api.JavadocTaskImpl java.lang.Iterable
putfield jdk.javadoc.internal.api.JavadocTaskImpl.fileObjects:Ljava/lang/Iterable;
11: aload 0
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual jdk.javadoc.internal.api.JavadocTaskImpl.setLocale:(Ljava/util/Locale;)V
12: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/javadoc/internal/api/JavadocTaskImpl;
0 13 1 context Lcom/sun/tools/javac/util/Context;
0 13 2 docletClass Ljava/lang/Class<*>;
0 13 3 options Ljava/lang/Iterable<Ljava/lang/String;>;
0 13 4 fileObjects Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;
Signature: (Lcom/sun/tools/javac/util/Context;Ljava/lang/Class<*>;Ljava/lang/Iterable<Ljava/lang/String;>;Ljava/lang/Iterable<+Ljavax/tools/JavaFileObject;>;)V
MethodParameters:
Name Flags
context
docletClass
options
fileObjects
public void setLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.used:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 2
1: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.javadoc.internal.api.JavadocTaskImpl.locale:Ljava/util/Locale;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/javadoc/internal/api/JavadocTaskImpl;
0 4 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public void addModules(java.lang.Iterable<java.lang.String>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.javadoc.internal.api.JavadocTaskImpl.nullCheck:(Ljava/lang/Iterable;)Ljava/lang/Iterable;
pop
1: aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.used:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 3
2: new java.lang.IllegalStateException
dup
invokespecial java.lang.IllegalStateException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: jdk.javadoc.internal.api.JavadocTaskImpl java.lang.Iterable top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 5: aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.addModules:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/api/JavadocTaskImpl;
0 8 1 moduleNames Ljava/lang/Iterable<Ljava/lang/String;>;
5 6 2 name Ljava/lang/String;
Signature: (Ljava/lang/Iterable<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
moduleNames
public java.lang.Boolean call();
descriptor: ()Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.used:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.getAndSet:(Z)Z
ifne 7
1: aload 0
invokevirtual jdk.javadoc.internal.api.JavadocTaskImpl.initContext:()V
2: new jdk.javadoc.internal.tool.Start
dup
aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.context:Lcom/sun/tools/javac/util/Context;
invokespecial jdk.javadoc.internal.tool.Start.<init>:(Lcom/sun/tools/javac/util/Context;)V
astore 1
start local 1 3: aload 1
aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.docletClass:Ljava/lang/Class;
aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.options:Ljava/lang/Iterable;
aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.fileObjects:Ljava/lang/Iterable;
invokevirtual jdk.javadoc.internal.tool.Start.begin:(Ljava/lang/Class;Ljava/lang/Iterable;Ljava/lang/Iterable;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
4: areturn
5: StackMap locals: jdk.javadoc.internal.api.JavadocTaskImpl jdk.javadoc.internal.tool.Start
StackMap stack: com.sun.tools.javac.util.ClientCodeException
astore 2
start local 2 6: new java.lang.RuntimeException
dup
aload 2
invokevirtual com.sun.tools.javac.util.ClientCodeException.getCause:()Ljava/lang/Throwable;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 7: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "multiple calls to method 'call'"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/javadoc/internal/api/JavadocTaskImpl;
3 7 1 jdoc Ljdk/javadoc/internal/tool/Start;
6 7 2 e Lcom/sun/tools/javac/util/ClientCodeException;
Exception table:
from to target type
3 4 5 Class com.sun.tools.javac.util.ClientCodeException
private void initContext();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.context:Lcom/sun/tools/javac/util/Context;
ldc Ljava/util/Locale;
aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.locale:Ljava/util/Locale;
invokevirtual com.sun.tools.javac.util.Context.put:(Ljava/lang/Class;Ljava/lang/Object;)V
1: aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.addModules:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 8
2: ldc ","
aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.addModules:Ljava/util/List;
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
astore 1
start local 1 3: aload 0
getfield jdk.javadoc.internal.api.JavadocTaskImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.util.Options.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Options;
astore 2
start local 2 4: aload 2
getstatic com.sun.tools.javac.main.Option.ADD_MODULES:Lcom/sun/tools/javac/main/Option;
invokevirtual com.sun.tools.javac.util.Options.get:(Lcom/sun/tools/javac/main/Option;)Ljava/lang/String;
astore 3
start local 3 5: aload 2
getstatic com.sun.tools.javac.main.Option.ADD_MODULES:Lcom/sun/tools/javac/main/Option;
aload 3
ifnonnull 6
aload 1
goto 7
StackMap locals: jdk.javadoc.internal.api.JavadocTaskImpl java.lang.String com.sun.tools.javac.util.Options java.lang.String
StackMap stack: com.sun.tools.javac.util.Options com.sun.tools.javac.main.Option
6: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: jdk.javadoc.internal.api.JavadocTaskImpl java.lang.String com.sun.tools.javac.util.Options java.lang.String
StackMap stack: com.sun.tools.javac.util.Options com.sun.tools.javac.main.Option java.lang.String
7: invokevirtual com.sun.tools.javac.util.Options.put:(Lcom/sun/tools/javac/main/Option;Ljava/lang/String;)V
end local 3 end local 2 end local 1 8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/javadoc/internal/api/JavadocTaskImpl;
3 8 1 names Ljava/lang/String;
4 8 2 opts Lcom/sun/tools/javac/util/Options;
5 8 3 prev Ljava/lang/String;
private static <T> java.lang.Iterable<T> nullCheck(java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Iterable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
goto 4
StackMap locals: java.lang.Iterable top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 1
start local 1 2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
end local 1 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 items Ljava/lang/Iterable<TT;>;
2 4 1 item TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<TT;>;)Ljava/lang/Iterable<TT;>;
MethodParameters:
Name Flags
items
public java.lang.Object call();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.javadoc.internal.api.JavadocTaskImpl.call:()Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "JavadocTaskImpl.java"
InnerClasses:
public abstract DocumentationTask = javax.tools.DocumentationTool$DocumentationTask of javax.tools.DocumentationTool