public final class com.sun.tools.jdeps.Module$Builder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.jdeps.Module$Builder
super_class: java.lang.Object
{
final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.module.ModuleDescriptor descriptor;
descriptor: Ljava/lang/module/ModuleDescriptor;
flags: (0x0010) ACC_FINAL
final boolean isSystem;
descriptor: Z
flags: (0x0010) ACC_FINAL
com.sun.tools.jdeps.ClassFileReader reader;
descriptor: Lcom/sun/tools/jdeps/ClassFileReader;
flags: (0x0000)
java.net.URI location;
descriptor: Ljava/net/URI;
flags: (0x0000)
public void <init>(java.lang.module.ModuleDescriptor);
descriptor: (Ljava/lang/module/ModuleDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokespecial com.sun.tools.jdeps.Module$Builder.<init>:(Ljava/lang/module/ModuleDescriptor;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module$Builder;
0 2 1 md Ljava/lang/module/ModuleDescriptor;
MethodParameters:
Name Flags
md
public void <init>(java.lang.module.ModuleDescriptor, boolean);
descriptor: (Ljava/lang/module/ModuleDescriptor;Z)V
flags: (0x0001) ACC_PUBLIC
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
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
putfield com.sun.tools.jdeps.Module$Builder.name:Ljava/lang/String;
2: aload 0
aload 1
putfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
3: aload 0
iload 2
putfield com.sun.tools.jdeps.Module$Builder.isSystem:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/tools/jdeps/Module$Builder;
0 5 1 md Ljava/lang/module/ModuleDescriptor;
0 5 2 isSystem Z
MethodParameters:
Name Flags
md
isSystem
public com.sun.tools.jdeps.Module$Builder location(java.net.URI);
descriptor: (Ljava/net/URI;)Lcom/sun/tools/jdeps/Module$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.jdeps.Module$Builder.location:Ljava/net/URI;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module$Builder;
0 2 1 location Ljava/net/URI;
MethodParameters:
Name Flags
location
public com.sun.tools.jdeps.Module$Builder classes(com.sun.tools.jdeps.ClassFileReader);
descriptor: (Lcom/sun/tools/jdeps/ClassFileReader;)Lcom/sun/tools/jdeps/Module$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.tools.jdeps.Module$Builder.reader:Lcom/sun/tools/jdeps/ClassFileReader;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/Module$Builder;
0 2 1 reader Lcom/sun/tools/jdeps/ClassFileReader;
MethodParameters:
Name Flags
reader
public com.sun.tools.jdeps.Module build();
descriptor: ()Lcom/sun/tools/jdeps/Module;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 2
aload 0
getfield com.sun.tools.jdeps.Module$Builder.isSystem:Z
ifeq 2
1: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "JDK module: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.jdeps.Module$Builder.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " can't be automatic module"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 3: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 2
start local 2 4: aload 0
getfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 8
5: aload 0
getfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 1
invokedynamic accept(Ljava/util/Map;)Ljava/util/function/Consumer;
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;)V
com/sun/tools/jdeps/Module$Builder.lambda$0(Ljava/util/Map;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
6: aload 0
getfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
aload 2
invokedynamic accept(Ljava/util/Map;)Ljava/util/function/Consumer;
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;)V
com/sun/tools/jdeps/Module$Builder.lambda$1(Ljava/util/Map;Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
7: goto 12
8: StackMap locals: java.util.Map java.util.Map
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
9: aload 1
invokedynamic accept(Ljava/util/Map;)Ljava/util/function/Consumer;
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;)V
com/sun/tools/jdeps/Module$Builder.lambda$2(Ljava/util/Map;Ljava/lang/module/ModuleDescriptor$Exports;)V (6)
(Ljava/lang/module/ModuleDescriptor$Exports;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
10: aload 0
getfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
11: aload 2
invokedynamic accept(Ljava/util/Map;)Ljava/util/function/Consumer;
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;)V
com/sun/tools/jdeps/Module$Builder.lambda$4(Ljava/util/Map;Ljava/lang/module/ModuleDescriptor$Opens;)V (6)
(Ljava/lang/module/ModuleDescriptor$Opens;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
12: StackMap locals:
StackMap stack:
new com.sun.tools.jdeps.Module
dup
aload 0
getfield com.sun.tools.jdeps.Module$Builder.name:Ljava/lang/String;
aload 0
getfield com.sun.tools.jdeps.Module$Builder.location:Ljava/net/URI;
aload 0
getfield com.sun.tools.jdeps.Module$Builder.descriptor:Ljava/lang/module/ModuleDescriptor;
aload 1
aload 2
aload 0
getfield com.sun.tools.jdeps.Module$Builder.isSystem:Z
aload 0
getfield com.sun.tools.jdeps.Module$Builder.reader:Lcom/sun/tools/jdeps/ClassFileReader;
invokespecial com.sun.tools.jdeps.Module.<init>:(Ljava/lang/String;Ljava/net/URI;Ljava/lang/module/ModuleDescriptor;Ljava/util/Map;Ljava/util/Map;ZLcom/sun/tools/jdeps/ClassFileReader;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/jdeps/Module$Builder;
3 13 1 exports Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
4 13 2 opens Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
private static void lambda$0(java.util.Map, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 pn Ljava/lang/String;
private static void lambda$1(java.util.Map, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 pn Ljava/lang/String;
private static void lambda$2(java.util.Map, java.lang.module.ModuleDescriptor$Exports);
descriptor: (Ljava/util/Map;Ljava/lang/module/ModuleDescriptor$Exports;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual java.lang.module.ModuleDescriptor$Exports.source:()Ljava/lang/String;
invokedynamic apply()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;
com/sun/tools/jdeps/Module$Builder.lambda$3(Ljava/lang/String;)Ljava/util/Set; (6)
(Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Set
1: aload 1
invokevirtual java.lang.module.ModuleDescriptor$Exports.targets:()Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 exp Ljava/lang/module/ModuleDescriptor$Exports;
private static void lambda$4(java.util.Map, java.lang.module.ModuleDescriptor$Opens);
descriptor: (Ljava/util/Map;Ljava/lang/module/ModuleDescriptor$Opens;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokevirtual java.lang.module.ModuleDescriptor$Opens.source:()Ljava/lang/String;
invokedynamic apply()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;
com/sun/tools/jdeps/Module$Builder.lambda$5(Ljava/lang/String;)Ljava/util/Set; (6)
(Ljava/lang/String;)Ljava/util/Set;
invokeinterface java.util.Map.computeIfAbsent:(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.util.Set
1: aload 1
invokevirtual java.lang.module.ModuleDescriptor$Opens.targets:()Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 2 1 exp Ljava/lang/module/ModuleDescriptor$Opens;
private static java.util.Set lambda$3(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 _k Ljava/lang/String;
private static java.util.Set lambda$5(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Set;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 _k Ljava/lang/String;
}
SourceFile: "Module.java"
NestHost: com.sun.tools.jdeps.Module
InnerClasses:
public final Builder = com.sun.tools.jdeps.Module$Builder of com.sun.tools.jdeps.Module
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Exports = java.lang.module.ModuleDescriptor$Exports of java.lang.module.ModuleDescriptor
public final Opens = java.lang.module.ModuleDescriptor$Opens of java.lang.module.ModuleDescriptor