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.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 // jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter this
        start local 1 // jdk.javadoc.internal.doclets.toolkit.BaseConfiguration configuration
         0: .line 58
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 59
            aload 0 /* this */
            aload 1 /* configuration */
            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: .line 60
            aload 0 /* this */
            aload 1 /* configuration */
            putfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
         3: .line 61
            aload 0 /* this */
            aload 1 /* configuration */
            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;
         4: .line 62
            return
        end local 1 // jdk.javadoc.internal.doclets.toolkit.BaseConfiguration configuration
        end local 0 // jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    5     0           this  Ljdk/javadoc/internal/doclets/toolkit/util/ElementListWriter;
            0    5     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 // jdk.javadoc.internal.doclets.toolkit.BaseConfiguration configuration
         0: .line 71
            new jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter
            dup
            aload 0 /* configuration */
            invokespecial jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.<init>:(Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;)V
            astore 1 /* elemgen */
        start local 1 // jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter elemgen
         1: .line 72
            aload 1 /* elemgen */
            aload 0 /* configuration */
            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: .line 73
            return
        end local 1 // jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter elemgen
        end local 0 // jdk.javadoc.internal.doclets.toolkit.BaseConfiguration configuration
      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 // jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter this
        start local 1 // jdk.javadoc.doclet.DocletEnvironment docEnv
         0: .line 76
            aconst_null
            astore 2
            aconst_null
            astore 3
         1: new java.io.BufferedWriter
            dup
            aload 0 /* this */
            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 /* out */
        start local 4 // java.io.BufferedWriter out
         2: .line 77
            aload 0 /* this */
            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: .line 78
            aload 0 /* this */
            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 /* mdle */
        start local 5 // javax.lang.model.element.ModuleElement mdle
         5: .line 79
            aload 0 /* this */
            getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
            getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.nodeprecated:Z
            ifeq 6
            aload 0 /* this */
            getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
            aload 5 /* mdle */
            invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.isDeprecated:(Ljavax/lang/model/element/Element;)Z
            ifne 13
         6: .line 80
      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 /* out */
            new java.lang.StringBuilder
            dup
            ldc "module:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 5 /* mdle */
            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: .line 81
            aload 4 /* out */
            invokevirtual java.io.BufferedWriter.newLine:()V
         8: .line 82
            aload 0 /* this */
            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 /* mdle */
            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 /* pkg */
        start local 7 // javax.lang.model.element.PackageElement pkg
        10: .line 83
            aload 4 /* out */
            aload 7 /* pkg */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
        11: .line 84
            aload 4 /* out */
            invokevirtual java.io.BufferedWriter.newLine:()V
        end local 7 // javax.lang.model.element.PackageElement pkg
        12: .line 82
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 9
        end local 5 // javax.lang.model.element.ModuleElement mdle
        13: .line 78
      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: .line 88
            goto 21
        15: .line 89
      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 /* this */
            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 /* pkg */
        start local 5 // javax.lang.model.element.PackageElement pkg
        17: .line 92
            aload 0 /* this */
            getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.configuration:Ljdk/javadoc/internal/doclets/toolkit/BaseConfiguration;
            getfield jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.nodeprecated:Z
            ifeq 18
            aload 0 /* this */
            getfield jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter.utils:Ljdk/javadoc/internal/doclets/toolkit/util/Utils;
            aload 5 /* pkg */
            invokevirtual jdk.javadoc.internal.doclets.toolkit.util.Utils.isDeprecated:(Ljavax/lang/model/element/Element;)Z
            ifne 20
        18: .line 93
      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 /* out */
            aload 5 /* pkg */
            invokevirtual java.lang.Object.toString:()Ljava/lang/String;
            invokevirtual java.io.BufferedWriter.write:(Ljava/lang/String;)V
        19: .line 94
            aload 4 /* out */
            invokevirtual java.io.BufferedWriter.newLine:()V
        end local 5 // javax.lang.model.element.PackageElement pkg
        20: .line 89
      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: .line 98
      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 /* out */
            ifnull 29
            aload 4 /* out */
            invokevirtual java.io.BufferedWriter.close:()V
            goto 29
      StackMap locals:
      StackMap stack: java.lang.Throwable
        22: astore 2
            aload 4 /* out */
            ifnull 23
            aload 4 /* out */
            invokevirtual java.io.BufferedWriter.close:()V
        end local 4 // java.io.BufferedWriter out
      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 /* e */
        start local 2 // java.io.IOException e
        28: .line 99
            new jdk.javadoc.internal.doclets.toolkit.util.DocFileIOException
            dup
            aload 0 /* this */
            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 /* e */
            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 // java.io.IOException e
        29: .line 101
      StackMap locals:
      StackMap stack:
            return
        end local 1 // jdk.javadoc.doclet.DocletEnvironment docEnv
        end local 0 // jdk.javadoc.internal.doclets.toolkit.util.ElementListWriter this
      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