public interface java.lang.module.ModuleReader extends java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: java.lang.module.ModuleReader
super_class: java.lang.Object
{
public abstract java.util.Optional<java.net.URI> find(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
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 start local 1 0: aload 0
aload 1
invokeinterface java.lang.module.ModuleReader.find:(Ljava/lang/String;)Ljava/util/Optional;
astore 2
start local 2 1: aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifeq 3
2: aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.net.URI
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
3: StackMap locals: java.util.Optional
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/module/ModuleReader;
0 4 1 name Ljava/lang/String;
1 4 2 ouri Ljava/util/Optional<Ljava/net/URI;>;
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=6, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.lang.module.ModuleReader.open:(Ljava/lang/String;)Ljava/util/Optional;
astore 2
start local 2 1: aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifeq 13
2: aconst_null
astore 3
aconst_null
astore 4
3: aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.io.InputStream
astore 5
start local 5 4: aload 5
invokevirtual java.io.InputStream.readAllBytes:()[B
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
5: aload 5
ifnull 6
aload 5
invokevirtual java.io.InputStream.close:()V
6: StackMap locals: java.lang.module.ModuleReader java.lang.String java.util.Optional java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.util.Optional
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 3
8: aload 5
ifnull 9
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
9: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
aload 3
ifnonnull 11
aload 4
astore 3
goto 12
StackMap locals:
StackMap stack:
11: aload 3
aload 4
if_acmpeq 12
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 3
athrow
13: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/lang/module/ModuleReader;
0 14 1 name Ljava/lang/String;
1 14 2 oin Ljava/util/Optional<Ljava/io/InputStream;>;
4 9 5 in Ljava/io/InputStream;
Exception table:
from to target type
4 5 7 any
3 6 10 any
7 10 10 any
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/nio/ByteBuffer;>;
MethodParameters:
Name Flags
name
public void release(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/lang/module/ModuleReader;
0 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bb
public abstract java.util.stream.Stream<java.lang.String> list();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;
public abstract void close();
descriptor: ()V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
}
SourceFile: "ModuleReader.java"