public final class jdk.tools.jlink.internal.Jlink$JlinkConfiguration
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.Jlink$JlinkConfiguration
super_class: java.lang.Object
{
private final java.util.List<java.nio.file.Path> modulepaths;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
private final java.nio.file.Path output;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Set<java.lang.String> modules;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.util.Set<java.lang.String> limitmods;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private final java.nio.ByteOrder endian;
descriptor: Ljava/nio/ByteOrder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.module.ModuleFinder finder;
descriptor: Ljava/lang/module/ModuleFinder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.nio.file.Path, java.util.List<java.nio.file.Path>, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>, java.nio.ByteOrder);
descriptor: (Ljava/nio/file/Path;Ljava/util/List;Ljava/util/Set;Ljava/util/Set;Ljava/nio/ByteOrder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "Empty module path"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: jdk.tools.jlink.internal.Jlink$JlinkConfiguration java.nio.file.Path java.util.List java.util.Set java.util.Set java.nio.ByteOrder
StackMap stack:
aload 0
aload 1
putfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.output:Ljava/nio/file/Path;
4: aload 0
aload 2
putfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modulepaths:Ljava/util/List;
5: aload 0
aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
putfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modules:Ljava/util/Set;
6: aload 0
aload 4
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
putfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.limitmods:Ljava/util/Set;
7: aload 0
aload 5
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.ByteOrder
putfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.endian:Ljava/nio/ByteOrder;
8: aload 0
aload 0
invokevirtual jdk.tools.jlink.internal.Jlink$JlinkConfiguration.moduleFinder:()Ljava/lang/module/ModuleFinder;
putfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.finder:Ljava/lang/module/ModuleFinder;
9: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
0 10 1 output Ljava/nio/file/Path;
0 10 2 modulepaths Ljava/util/List<Ljava/nio/file/Path;>;
0 10 3 modules Ljava/util/Set<Ljava/lang/String;>;
0 10 4 limitmods Ljava/util/Set<Ljava/lang/String;>;
0 10 5 endian Ljava/nio/ByteOrder;
Signature: (Ljava/nio/file/Path;Ljava/util/List<Ljava/nio/file/Path;>;Ljava/util/Set<Ljava/lang/String;>;Ljava/util/Set<Ljava/lang/String;>;Ljava/nio/ByteOrder;)V
MethodParameters:
Name Flags
output
modulepaths
modules
limitmods
endian
public java.util.List<java.nio.file.Path> getModulepaths();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modulepaths:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
Signature: ()Ljava/util/List<Ljava/nio/file/Path;>;
public java.nio.ByteOrder getByteOrder();
descriptor: ()Ljava/nio/ByteOrder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.endian:Ljava/nio/ByteOrder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
public java.nio.file.Path getOutput();
descriptor: ()Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.output:Ljava/nio/file/Path;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
public java.util.Set<java.lang.String> getModules();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modules:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getLimitmods();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.limitmods:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.module.ModuleFinder finder();
descriptor: ()Ljava/lang/module/ModuleFinder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.finder:Ljava/lang/module/ModuleFinder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
public java.lang.module.Configuration resolveAndBind();
descriptor: ()Ljava/lang/module/Configuration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic java.lang.module.Configuration.empty:()Ljava/lang/module/Configuration;
aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.finder:Ljava/lang/module/ModuleFinder;
iconst_0
anewarray java.nio.file.Path
1: invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
2: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modules:Ljava/util/Set;
3: invokevirtual java.lang.module.Configuration.resolveAndBind:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Collection;)Ljava/lang/module/Configuration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
public java.lang.module.Configuration resolve();
descriptor: ()Ljava/lang/module/Configuration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic java.lang.module.Configuration.empty:()Ljava/lang/module/Configuration;
aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.finder:Ljava/lang/module/ModuleFinder;
iconst_0
anewarray java.nio.file.Path
1: invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
2: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modules:Ljava/util/Set;
3: invokevirtual java.lang.module.Configuration.resolve:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;Ljava/util/Collection;)Ljava/lang/module/Configuration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
private java.lang.module.ModuleFinder moduleFinder();
descriptor: ()Ljava/lang/module/ModuleFinder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modulepaths:Ljava/util/List;
iconst_0
anewarray java.nio.file.Path
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.nio.file.Path[]
astore 1
start local 1 1: invokestatic java.lang.Runtime.version:()Ljava/lang/Runtime$Version;
iconst_1
aload 1
invokestatic jdk.internal.module.ModulePath.of:(Ljava/lang/Runtime$Version;Z[Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
astore 2
start local 2 2: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.limitmods:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifne 4
3: aload 2
aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.limitmods:Ljava/util/Set;
aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modules:Ljava/util/Set;
invokestatic jdk.tools.jlink.internal.JlinkTask.limitFinder:(Ljava/lang/module/ModuleFinder;Ljava/util/Set;Ljava/util/Set;)Ljava/lang/module/ModuleFinder;
astore 2
4: StackMap locals: java.nio.file.Path[] java.lang.module.ModuleFinder
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
1 5 1 entries [Ljava/nio/file/Path;
2 5 2 finder Ljava/lang/module/ModuleFinder;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "output="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.output:Ljava/nio/file/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 3: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modulepaths:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.tools.jlink.internal.Jlink$JlinkConfiguration java.lang.StringBuilder java.lang.StringBuilder top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 3
start local 3 5: aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
ldc "modulepaths="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 9: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.modules:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: jdk.tools.jlink.internal.Jlink$JlinkConfiguration java.lang.StringBuilder java.lang.StringBuilder java.lang.StringBuilder top java.util.Iterator
StackMap stack:
10: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 11: aload 3
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 12: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 1
ldc "modules="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 15: aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.limitmods:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 18
StackMap locals: jdk.tools.jlink.internal.Jlink$JlinkConfiguration java.lang.StringBuilder java.lang.StringBuilder java.lang.StringBuilder java.lang.StringBuilder top java.util.Iterator
StackMap stack:
16: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 17: aload 4
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 18: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
19: aload 1
ldc "limitmodules="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: aload 1
ldc "endian="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.tools.jlink.internal.Jlink$JlinkConfiguration.endian:Ljava/nio/ByteOrder;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
1 22 1 builder Ljava/lang/StringBuilder;
3 22 2 pathsBuilder Ljava/lang/StringBuilder;
5 6 3 p Ljava/nio/file/Path;
9 22 3 modsBuilder Ljava/lang/StringBuilder;
11 12 4 p Ljava/lang/String;
15 22 4 limitsBuilder Ljava/lang/StringBuilder;
17 18 5 p Ljava/lang/String;
}
SourceFile: "Jlink.java"
NestHost: jdk.tools.jlink.internal.Jlink
InnerClasses:
public final Version = java.lang.Runtime$Version of java.lang.Runtime
public final JlinkConfiguration = jdk.tools.jlink.internal.Jlink$JlinkConfiguration of jdk.tools.jlink.internal.Jlink