public abstract class java.lang.module.ModuleReference
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.lang.module.ModuleReference
super_class: java.lang.Object
{
private final java.lang.module.ModuleDescriptor descriptor;
descriptor: Ljava/lang/module/ModuleDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URI location;
descriptor: Ljava/net/URI;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.lang.module.ModuleDescriptor, java.net.URI);
descriptor: (Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor
putfield java.lang.module.ModuleReference.descriptor:Ljava/lang/module/ModuleDescriptor;
2: aload 0
aload 2
putfield java.lang.module.ModuleReference.location:Ljava/net/URI;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/module/ModuleReference;
0 4 1 descriptor Ljava/lang/module/ModuleDescriptor;
0 4 2 location Ljava/net/URI;
MethodParameters:
Name Flags
descriptor
location
public final java.lang.module.ModuleDescriptor descriptor();
descriptor: ()Ljava/lang/module/ModuleDescriptor;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.module.ModuleReference.descriptor:Ljava/lang/module/ModuleDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/module/ModuleReference;
public final java.util.Optional<java.net.URI> location();
descriptor: ()Ljava/util/Optional;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.module.ModuleReference.location:Ljava/net/URI;
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/lang/module/ModuleReference;
Signature: ()Ljava/util/Optional<Ljava/net/URI;>;
public abstract java.lang.module.ModuleReader open();
descriptor: ()Ljava/lang/module/ModuleReader;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
}
SourceFile: "ModuleReference.java"