public class jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter
super_class: java.lang.Object
{
private final jdk.javadoc.internal.doclets.toolkit.BaseConfiguration configuration;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.javadoc.internal.doclets.toolkit.BaseOptions options;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/BaseOptions;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.javadoc.internal.doclets.toolkit.util.Utils utils;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.javadoc.internal.doclets.toolkit.util.DocFile file;
descriptor: Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocPaths.ELEMENT_LIST:Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;
invokestatic jdk.javadoc.internal.doclets.toolkit.util.DocFile.createFileForOutput:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;Ljdk/javadoc/internal/doclets/toolkit/util/DocPath;)Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
putfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.file:Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
2: aload 0
aload 1
putfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
3: aload 0
aload 1
invokevirtual jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.getOptions:()Ljdk/javadoc/internal/doclets/toolkit/BaseOptions;
putfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.options:Ljdk/javadoc/internal/doclets/toolkit/BaseOptions;
4: aload 0
aload 1
getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
putfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/javadoc/internal/doclets/toolkit/util/ElementListWriter;
0 6 1 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
MethodParameters:
Name Flags
configuration
public static void generate(jdk.javadoc.internal.doclets.toolkit.BaseConfiguration);
descriptor: (Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter
dup
aload 0
invokespecial jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.<init>:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)V
astore 1
start local 1 1: aload 1
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.docEnv:Ljdk/javadoc/doclet/DocletEnvironment;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.generateElementListFile:(Ljdk/javadoc/doclet/DocletEnvironment;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 configuration Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
1 3 1 elemgen Ljdk/javadoc/internal/doclets/toolkit/util/ElementListWriter;
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
configuration
protected void generateElementListFile(jdk.javadoc.doclet.DocletEnvironment);
descriptor: (Ljdk/javadoc/doclet/DocletEnvironment;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: new java.io.BufferedWriter
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.file:Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.DocFile.openWriter:()Ljava/io/Writer;
invokespecial java.io.BufferedWriter.<init>:(Ljava/io/Writer;)V
astore 4
start local 4 2: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.showModules:Z
ifeq 15
3: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.modulePackages:Ljava/util/SortedMap;
invokeinterface java.util.SortedMap.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.ModuleElement
astore 5
start local 5 5: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.options:Ljdk/javadoc/internal/doclets/toolkit/BaseOptions;
invokevirtual jdk.javadoc.internal.doclets.toolkit.BaseOptions.noDeprecated:()Z
ifeq 6
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.isDeprecated:(Ljavax/lang/model/element/Element;)Z
ifne 13
6: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter javax.lang.model.element.ModuleElement java.util.Iterator
StackMap stack:
aload 4
new java.lang.StringBuilder
dup
ldc "module:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.Object.toString:()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.BufferedWriter.write:(Ljava/lang/String;)V
7: aload 4
invokevirtual java.io.BufferedWriter.newLine:()V
8: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.modulePackages:Ljava/util/SortedMap;
aload 5
invokeinterface java.util.SortedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 12
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter javax.lang.model.element.ModuleElement java.util.Iterator top java.util.Iterator
StackMap stack:
9: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.PackageElement
astore 7
start local 7 10: aload 4
aload 7
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
11: aload 4
invokevirtual java.io.BufferedWriter.newLine:()V
end local 7 12: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 5 13: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: goto 21
15: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter
StackMap stack:
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.packages:Ljava/util/SortedSet;
invokeinterface java.util.SortedSet.iterator:()Ljava/util/Iterator;
astore 6
goto 20
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter top java.util.Iterator
StackMap stack:
16: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.lang.model.element.PackageElement
astore 5
start local 5 17: aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.options:Ljdk/javadoc/internal/doclets/toolkit/BaseOptions;
invokevirtual jdk.javadoc.internal.doclets.toolkit.BaseOptions.noDeprecated:()Z
ifeq 18
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
aload 5
invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.isDeprecated:(Ljavax/lang/model/element/Element;)Z
ifne 20
18: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter javax.lang.model.element.PackageElement java.util.Iterator
StackMap stack:
aload 4
aload 5
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
19: aload 4
invokevirtual java.io.BufferedWriter.newLine:()V
end local 5 20: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
21: StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment java.lang.Throwable java.lang.Throwable java.io.BufferedWriter
StackMap stack:
aload 4
ifnull 29
aload 4
invokevirtual java.io.BufferedWriter.close:()V
goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 2
aload 4
ifnull 23
aload 4
invokevirtual java.io.BufferedWriter.close:()V
end local 4 StackMap locals:
StackMap stack:
23: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 3
aload 2
ifnonnull 25
aload 3
astore 2
goto 26
StackMap locals:
StackMap stack:
25: aload 2
aload 3
if_acmpeq 26
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 2
athrow
StackMap locals: jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter jdk.javadoc.doclet.DocletEnvironment
StackMap stack: java.io.IOException
27: astore 2
start local 2 28: new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
dup
aload 0
getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.file:Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;
getstatic jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode.WRITE:Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;
aload 2
invokespecial jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException.<init>:(Ljdk/javadoc/internal/doclets/toolkit/util/DocFile;Ljdk/javadoc/internal/doclets/toolkit/util/DocFileIOException$Mode;Ljava/io/IOException;)V
athrow
end local 2 29: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Ljdk/javadoc/internal/doclets/toolkit/util/ElementListWriter;
0 30 1 docEnv Ljdk/javadoc/doclet/DocletEnvironment;
2 23 4 out Ljava/io/BufferedWriter;
5 13 5 mdle Ljavax/lang/model/element/ModuleElement;
10 12 7 pkg Ljavax/lang/model/element/PackageElement;
17 20 5 pkg Ljavax/lang/model/element/PackageElement;
28 29 2 e Ljava/io/IOException;
Exception table:
from to target type
2 21 22 any
1 24 24 any
0 27 27 Class java.io.IOException
Exceptions:
throws jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
MethodParameters:
Name Flags
docEnv
}
SourceFile: "ElementListWriter.java"
InnerClasses:
public final Mode = jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException$Mode of jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException