class jdk.internal.module.ModuleReferences$ExplodedModuleReader implements java.lang.module.ModuleReader
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.module.ModuleReferences$ExplodedModuleReader
  super_class: java.lang.Object
{
  private final java.nio.file.Path dir;
    descriptor: Ljava/nio/file/Path;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean closed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  void <init>(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
        start local 1 // java.nio.file.Path dir
         0: .line 363
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 364
            aload 0 /* this */
            aload 1 /* dir */
            putfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.dir:Ljava/nio/file/Path;
         2: .line 368
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 2 /* sm */
        start local 2 // java.lang.SecurityManager sm
         3: .line 369
            aload 2 /* sm */
            ifnull 5
         4: .line 370
            aload 1 /* dir */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            pop
         5: .line 372
      StackMap locals: jdk.internal.module.ModuleReferences$ExplodedModuleReader java.nio.file.Path java.lang.SecurityManager
      StackMap stack:
            return
        end local 2 // java.lang.SecurityManager sm
        end local 1 // java.nio.file.Path dir
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;
            0    6     1   dir  Ljava/nio/file/Path;
            3    6     2    sm  Ljava/lang/SecurityManager;
    MethodParameters:
      Name  Flags
      dir   

  private void ensureOpen();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
         0: .line 378
            aload 0 /* this */
            getfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.closed:Z
            ifeq 1
            new java.io.IOException
            dup
            ldc "ModuleReader is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         1: .line 379
      StackMap locals:
      StackMap stack:
            return
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;
    Exceptions:
      throws java.io.IOException

  public java.util.Optional<java.net.URI> find(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Optional;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
        start local 1 // java.lang.String name
         0: .line 383
            aload 0 /* this */
            invokevirtual jdk.internal.module.ModuleReferences$ExplodedModuleReader.ensureOpen:()V
         1: .line 384
            aload 0 /* this */
            getfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.dir:Ljava/nio/file/Path;
            aload 1 /* name */
            invokestatic jdk.internal.module.Resources.toFilePath:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
            astore 2 /* path */
        start local 2 // java.nio.file.Path path
         2: .line 385
            aload 2 /* path */
            ifnull 7
         3: .line 387
            aload 2 /* path */
            invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
         4: areturn
         5: .line 388
      StackMap locals: jdk.internal.module.ModuleReferences$ExplodedModuleReader java.lang.String java.nio.file.Path
      StackMap stack: java.io.IOError
            astore 3 /* e */
        start local 3 // java.io.IOError e
         6: .line 389
            aload 3 /* e */
            invokevirtual java.io.IOError.getCause:()Ljava/lang/Throwable;
            checkcast java.io.IOException
            athrow
        end local 3 // java.io.IOError e
         7: .line 392
      StackMap locals:
      StackMap stack:
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
        end local 2 // java.nio.file.Path path
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;
            0    8     1  name  Ljava/lang/String;
            2    8     2  path  Ljava/nio/file/Path;
            6    7     3     e  Ljava/io/IOError;
      Exception table:
        from    to  target  type
           3     4       5  Class java.io.IOError
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/net/URI;>;
    MethodParameters:
      Name  Flags
      name  

  public java.util.Optional<java.io.InputStream> open(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Optional;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
        start local 1 // java.lang.String name
         0: .line 398
            aload 0 /* this */
            invokevirtual jdk.internal.module.ModuleReferences$ExplodedModuleReader.ensureOpen:()V
         1: .line 399
            aload 0 /* this */
            getfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.dir:Ljava/nio/file/Path;
            aload 1 /* name */
            invokestatic jdk.internal.module.Resources.toFilePath:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
            astore 2 /* path */
        start local 2 // java.nio.file.Path path
         2: .line 400
            aload 2 /* path */
            ifnull 4
         3: .line 401
            aload 2 /* path */
            iconst_0
            anewarray java.nio.file.OpenOption
            invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
         4: .line 403
      StackMap locals: java.nio.file.Path
      StackMap stack:
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
        end local 2 // java.nio.file.Path path
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;
            0    5     1  name  Ljava/lang/String;
            2    5     2  path  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/io/InputStream;>;
    MethodParameters:
      Name  Flags
      name  

  public java.util.Optional<java.nio.ByteBuffer> read(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Optional;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
        start local 1 // java.lang.String name
         0: .line 409
            aload 0 /* this */
            invokevirtual jdk.internal.module.ModuleReferences$ExplodedModuleReader.ensureOpen:()V
         1: .line 410
            aload 0 /* this */
            getfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.dir:Ljava/nio/file/Path;
            aload 1 /* name */
            invokestatic jdk.internal.module.Resources.toFilePath:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
            astore 2 /* path */
        start local 2 // java.nio.file.Path path
         2: .line 411
            aload 2 /* path */
            ifnull 4
         3: .line 412
            aload 2 /* path */
            invokestatic java.nio.file.Files.readAllBytes:(Ljava/nio/file/Path;)[B
            invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
         4: .line 414
      StackMap locals: java.nio.file.Path
      StackMap stack:
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
        end local 2 // java.nio.file.Path path
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;
            0    5     1  name  Ljava/lang/String;
            2    5     2  path  Ljava/nio/file/Path;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/nio/ByteBuffer;>;
    MethodParameters:
      Name  Flags
      name  

  public java.util.stream.Stream<java.lang.String> list();
    descriptor: ()Ljava/util/stream/Stream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
         0: .line 420
            aload 0 /* this */
            invokevirtual jdk.internal.module.ModuleReferences$ExplodedModuleReader.ensureOpen:()V
         1: .line 421
            aload 0 /* this */
            getfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.dir:Ljava/nio/file/Path;
            ldc 2147483647
            iconst_0
            anewarray java.nio.file.FileVisitOption
            invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
         2: .line 422
            aload 0 /* this */
            invokedynamic apply(Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;)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/internal/module/ModuleReferences$ExplodedModuleReader.lambda$0(Ljava/nio/file/Path;)Ljava/lang/String; (7)
                  (Ljava/nio/file/Path;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
         3: .line 423
            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/internal/module/ModuleReferences$ExplodedModuleReader.lambda$1(Ljava/lang/String;)Z (6)
                  (Ljava/lang/String;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         4: .line 421
            areturn
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;
    Exceptions:
      throws java.io.IOException
    Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
         0: .line 428
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.closed:Z
         1: .line 429
            return
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;

  private java.lang.String lambda$0(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
        start local 1 // java.nio.file.Path f
         0: .line 422
            aload 0 /* this */
            getfield jdk.internal.module.ModuleReferences$ExplodedModuleReader.dir:Ljava/nio/file/Path;
            aload 1 /* f */
            invokestatic jdk.internal.module.Resources.toResourceName:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
            areturn
        end local 1 // java.nio.file.Path f
        end local 0 // jdk.internal.module.ModuleReferences$ExplodedModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/module/ModuleReferences$ExplodedModuleReader;
            0    1     1     f  Ljava/nio/file/Path;

  private static boolean lambda$1(java.lang.String);
    descriptor: (Ljava/lang/String;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.lang.String s
         0: .line 423
            aload 0 /* s */
            invokevirtual java.lang.String.length:()I
            ifle 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     s  Ljava/lang/String;
}
SourceFile: "ModuleReferences.java"
NestHost: jdk.internal.module.ModuleReferences
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  ExplodedModuleReader = jdk.internal.module.ModuleReferences$ExplodedModuleReader of jdk.internal.module.ModuleReferences