class jdk.internal.loader.Loader$LoadedModule
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.loader.Loader$LoadedModule
super_class: java.lang.Object
{
private final java.lang.module.ModuleReference mref;
descriptor: Ljava/lang/module/ModuleReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.CodeSource cs;
descriptor: Ljava/security/CodeSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aconst_null
astore 2
start local 2 2: aload 1
invokevirtual java.lang.module.ModuleReference.location:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 6
3: aload 1
invokevirtual java.lang.module.ModuleReference.location:()Ljava/util/Optional;
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.net.URI
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 2
4: goto 6
StackMap locals: jdk.internal.loader.Loader$LoadedModule java.lang.module.ModuleReference java.net.URL
StackMap stack: java.lang.Exception
5: pop
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.internal.loader.Loader$LoadedModule.mref:Ljava/lang/module/ModuleReference;
7: aload 0
aload 2
putfield jdk.internal.loader.Loader$LoadedModule.url:Ljava/net/URL;
8: aload 0
new java.security.CodeSource
dup
aload 2
aconst_null
invokespecial java.security.CodeSource.<init>:(Ljava/net/URL;[Ljava/security/CodeSigner;)V
putfield jdk.internal.loader.Loader$LoadedModule.cs:Ljava/security/CodeSource;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/loader/Loader$LoadedModule;
0 10 1 mref Ljava/lang/module/ModuleReference;
2 10 2 url Ljava/net/URL;
Exception table:
from to target type
3 4 5 Class java.net.MalformedURLException
3 4 5 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
mref
java.lang.module.ModuleReference mref();
descriptor: ()Ljava/lang/module/ModuleReference;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.Loader$LoadedModule.mref:Ljava/lang/module/ModuleReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader$LoadedModule;
java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.Loader$LoadedModule.mref:Ljava/lang/module/ModuleReference;
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader$LoadedModule;
java.net.URL location();
descriptor: ()Ljava/net/URL;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.Loader$LoadedModule.url:Ljava/net/URL;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader$LoadedModule;
java.security.CodeSource codeSource();
descriptor: ()Ljava/security/CodeSource;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.loader.Loader$LoadedModule.cs:Ljava/security/CodeSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/loader/Loader$LoadedModule;
}
SourceFile: "Loader.java"
NestHost: jdk.internal.loader.Loader
InnerClasses:
private LoadedModule = jdk.internal.loader.Loader$LoadedModule of jdk.internal.loader.Loader