public class jdk.tools.jlink.internal.DirArchive implements jdk.tools.jlink.internal.Archive
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: jdk.tools.jlink.internal.DirArchive
  super_class: java.lang.Object
{
  private static final java.lang.String MODULE_INFO;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "module-info.class"

  private final java.nio.file.Path dirPath;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String moduleName;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<java.io.InputStream> open;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Ljava/io/InputStream;>;

  private final int chop;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.function.Consumer<java.lang.String> log;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/function/Consumer<Ljava/lang/String;>;

  private static final java.util.function.Consumer<java.lang.String> noopConsumer;
    descriptor: Ljava/util/function/Consumer;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/function/Consumer<Ljava/lang/String;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 85
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  jdk/tools/jlink/internal/DirArchive.lambda$0(Ljava/lang/String;)V (6)
                  (Ljava/lang/String;)V
            putstatic jdk.tools.jlink.internal.DirArchive.noopConsumer:Ljava/util/function/Consumer;
         1: .line 86
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.nio.file.Path, java.lang.String);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.tools.jlink.internal.DirArchive this
        start local 1 // java.nio.file.Path dirPath
        start local 2 // java.lang.String moduleName
         0: .line 89
            aload 0 /* this */
            aload 1 /* dirPath */
            aload 2 /* moduleName */
            getstatic jdk.tools.jlink.internal.DirArchive.noopConsumer:Ljava/util/function/Consumer;
            invokespecial jdk.tools.jlink.internal.DirArchive.<init>:(Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/function/Consumer;)V
         1: .line 90
            return
        end local 2 // java.lang.String moduleName
        end local 1 // java.nio.file.Path dirPath
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Ljdk/tools/jlink/internal/DirArchive;
            0    2     1     dirPath  Ljava/nio/file/Path;
            0    2     2  moduleName  Ljava/lang/String;
    MethodParameters:
            Name  Flags
      dirPath     
      moduleName  

  public void <init>(java.nio.file.Path, java.lang.String, java.util.function.Consumer<java.lang.String>);
    descriptor: (Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/function/Consumer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // jdk.tools.jlink.internal.DirArchive this
        start local 1 // java.nio.file.Path dirPath
        start local 2 // java.lang.String moduleName
        start local 3 // java.util.function.Consumer log
         0: .line 92
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 82
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield jdk.tools.jlink.internal.DirArchive.open:Ljava/util/List;
         2: .line 93
            aload 1 /* dirPath */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 94
            aload 1 /* dirPath */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifne 5
         4: .line 95
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            invokespecial java.lang.StringBuilder.<init>:()V
            aload 1 /* dirPath */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " is not a directory"
            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
         5: .line 97
      StackMap locals: jdk.tools.jlink.internal.DirArchive java.nio.file.Path java.lang.String java.util.function.Consumer
      StackMap stack:
            aload 0 /* this */
            aload 1 /* dirPath */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.length:()I
            iconst_1
            iadd
            putfield jdk.tools.jlink.internal.DirArchive.chop:I
         6: .line 98
            aload 0 /* this */
            aload 2 /* moduleName */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.String
            putfield jdk.tools.jlink.internal.DirArchive.moduleName:Ljava/lang/String;
         7: .line 99
            aload 0 /* this */
            aload 1 /* dirPath */
            putfield jdk.tools.jlink.internal.DirArchive.dirPath:Ljava/nio/file/Path;
         8: .line 100
            aload 0 /* this */
            aload 3 /* log */
            putfield jdk.tools.jlink.internal.DirArchive.log:Ljava/util/function/Consumer;
         9: .line 101
            return
        end local 3 // java.util.function.Consumer log
        end local 2 // java.lang.String moduleName
        end local 1 // java.nio.file.Path dirPath
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   10     0        this  Ljdk/tools/jlink/internal/DirArchive;
            0   10     1     dirPath  Ljava/nio/file/Path;
            0   10     2  moduleName  Ljava/lang/String;
            0   10     3         log  Ljava/util/function/Consumer<Ljava/lang/String;>;
    Signature: (Ljava/nio/file/Path;Ljava/lang/String;Ljava/util/function/Consumer<Ljava/lang/String;>;)V
    MethodParameters:
            Name  Flags
      dirPath     
      moduleName  
      log         

  public java.lang.String moduleName();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.DirArchive this
         0: .line 105
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.DirArchive.moduleName:Ljava/lang/String;
            areturn
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/DirArchive;

  public java.nio.file.Path getPath();
    descriptor: ()Ljava/nio/file/Path;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.DirArchive this
         0: .line 110
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.DirArchive.dirPath:Ljava/nio/file/Path;
            areturn
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/DirArchive;

  public java.util.stream.Stream<jdk.tools.jlink.internal.Archive$Entry> entries();
    descriptor: ()Ljava/util/stream/Stream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.tools.jlink.internal.DirArchive this
         0: .line 116
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.DirArchive.dirPath:Ljava/nio/file/Path;
            iconst_0
            anewarray java.nio.file.FileVisitOption
            invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
            aload 0 /* this */
            invokedynamic apply(Ljdk/tools/jlink/internal/DirArchive;)Ljava/util/function/Function;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Ljava/lang/Object;
                  jdk/tools/jlink/internal/DirArchive.toEntry(Ljava/nio/file/Path;)Ljdk/tools/jlink/internal/Archive$Entry; (7)
                  (Ljava/nio/file/Path;)Ljdk/tools/jlink/internal/Archive$Entry;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  jdk/tools/jlink/internal/DirArchive.lambda$2(Ljdk/tools/jlink/internal/Archive$Entry;)Z (6)
                  (Ljdk/tools/jlink/internal/Archive$Entry;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         1: areturn
         2: .line 117
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 1 /* ex */
        start local 1 // java.io.IOException ex
         3: .line 118
            new java.lang.RuntimeException
            dup
            aload 1 /* ex */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 1 // java.io.IOException ex
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/tools/jlink/internal/DirArchive;
            3    4     1    ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException
    Signature: ()Ljava/util/stream/Stream<Ljdk/tools/jlink/internal/Archive$Entry;>;

  private jdk.tools.jlink.internal.Archive$Entry toEntry(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljdk/tools/jlink/internal/Archive$Entry;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // jdk.tools.jlink.internal.DirArchive this
        start local 1 // java.nio.file.Path p
         0: .line 123
            aload 1 /* p */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 2
         1: .line 124
            aconst_null
            areturn
         2: .line 126
      StackMap locals:
      StackMap stack:
            aload 1 /* p */
            invokestatic jdk.tools.jlink.internal.DirArchive.getPathName:(Ljava/nio/file/Path;)Ljava/lang/String;
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.DirArchive.chop:I
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 2 /* name */
        start local 2 // java.lang.String name
         3: .line 127
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.DirArchive.log:Ljava/util/function/Consumer;
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.DirArchive.moduleName:Ljava/lang/String;
            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 2 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         4: .line 128
            new jdk.tools.jlink.internal.DirArchive$FileEntry
            dup
            aload 0 /* this */
            aload 1 /* p */
            aload 2 /* name */
            invokespecial jdk.tools.jlink.internal.DirArchive$FileEntry.<init>:(Ljdk/tools/jlink/internal/DirArchive;Ljava/nio/file/Path;Ljava/lang/String;)V
            areturn
        end local 2 // java.lang.String name
        end local 1 // java.nio.file.Path p
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/tools/jlink/internal/DirArchive;
            0    5     1     p  Ljava/nio/file/Path;
            3    5     2  name  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      p     

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // jdk.tools.jlink.internal.DirArchive this
         0: .line 133
            aconst_null
            astore 1 /* e */
        start local 1 // java.io.IOException e
         1: .line 134
            aload 0 /* this */
            getfield jdk.tools.jlink.internal.DirArchive.open:Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 10
      StackMap locals: jdk.tools.jlink.internal.DirArchive java.io.IOException top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.io.InputStream
            astore 2 /* stream */
        start local 2 // java.io.InputStream stream
         3: .line 136
            aload 2 /* stream */
            invokevirtual java.io.InputStream.close:()V
         4: .line 137
            goto 10
      StackMap locals: jdk.tools.jlink.internal.DirArchive java.io.IOException java.io.InputStream java.util.Iterator
      StackMap stack: java.io.IOException
         5: astore 4 /* ex */
        start local 4 // java.io.IOException ex
         6: .line 138
            aload 1 /* e */
            ifnonnull 9
         7: .line 139
            aload 4 /* ex */
            astore 1 /* e */
         8: .line 140
            goto 10
         9: .line 141
      StackMap locals: java.io.IOException
      StackMap stack:
            aload 1 /* e */
            aload 4 /* ex */
            invokevirtual java.io.IOException.addSuppressed:(Ljava/lang/Throwable;)V
        end local 4 // java.io.IOException ex
        end local 2 // java.io.InputStream stream
        10: .line 134
      StackMap locals: jdk.tools.jlink.internal.DirArchive java.io.IOException top java.util.Iterator
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        11: .line 145
            aload 1 /* e */
            ifnull 13
        12: .line 146
            aload 1 /* e */
            athrow
        13: .line 148
      StackMap locals: jdk.tools.jlink.internal.DirArchive java.io.IOException
      StackMap stack:
            return
        end local 1 // java.io.IOException e
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0    this  Ljdk/tools/jlink/internal/DirArchive;
            1   14     1       e  Ljava/io/IOException;
            3   10     2  stream  Ljava/io/InputStream;
            6   10     4      ex  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           3     4       5  Class java.io.IOException
    Exceptions:
      throws java.io.IOException

  public void open();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.DirArchive this
         0: .line 153
            return
        end local 0 // jdk.tools.jlink.internal.DirArchive this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/tools/jlink/internal/DirArchive;
    Exceptions:
      throws java.io.IOException

  private static java.lang.String getPathName(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.nio.file.Path path
         0: .line 156
            aload 0 /* path */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            getstatic java.io.File.separatorChar:C
            bipush 47
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            areturn
        end local 0 // java.nio.file.Path path
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  path  Ljava/nio/file/Path;
    MethodParameters:
      Name  Flags
      path  

  private static void lambda$0(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // java.lang.String t
         0: .line 86
            return
        end local 0 // java.lang.String t
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     t  Ljava/lang/String;

  private static boolean lambda$2(jdk.tools.jlink.internal.Archive$Entry);
    descriptor: (Ljdk/tools/jlink/internal/Archive$Entry;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.tools.jlink.internal.Archive$Entry n
         0: .line 116
            aload 0 /* n */
            ifnull 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // jdk.tools.jlink.internal.Archive$Entry n
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     n  Ljdk/tools/jlink/internal/Archive$Entry;
}
SourceFile: "DirArchive.java"
NestMembers:
  jdk.tools.jlink.internal.DirArchive$FileEntry
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = jdk.tools.jlink.internal.Archive$Entry of jdk.tools.jlink.internal.Archive
  private FileEntry = jdk.tools.jlink.internal.DirArchive$FileEntry of jdk.tools.jlink.internal.DirArchive