public class jdk.internal.module.ModuleHashes$Builder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.module.ModuleHashes$Builder
super_class: java.lang.Object
{
final java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.util.Map<java.lang.String, byte[]> nameToHash;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;[B>;
void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0000)
Code:
stack=4, 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
new java.util.HashMap
dup
iload 2
invokespecial java.util.HashMap.<init>:(I)V
putfield jdk.internal.module.ModuleHashes$Builder.nameToHash:Ljava/util/Map;
2: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield jdk.internal.module.ModuleHashes$Builder.algorithm:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModuleHashes$Builder;
0 4 1 algorithm Ljava/lang/String;
0 4 2 initialCapacity I
MethodParameters:
Name Flags
algorithm
initialCapacity
public jdk.internal.module.ModuleHashes$Builder hashForModule(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)Ljdk/internal/module/ModuleHashes$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.internal.module.ModuleHashes$Builder.nameToHash:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/ModuleHashes$Builder;
0 2 1 mn Ljava/lang/String;
0 2 2 hash [B
MethodParameters:
Name Flags
mn
hash
public jdk.internal.module.ModuleHashes build();
descriptor: ()Ljdk/internal/module/ModuleHashes;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModuleHashes$Builder.nameToHash:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ifne 2
1: new jdk.internal.module.ModuleHashes
dup
aload 0
getfield jdk.internal.module.ModuleHashes$Builder.algorithm:Ljava/lang/String;
aload 0
getfield jdk.internal.module.ModuleHashes$Builder.nameToHash:Ljava/util/Map;
invokespecial jdk.internal.module.ModuleHashes.<init>:(Ljava/lang/String;Ljava/util/Map;)V
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/module/ModuleHashes$Builder;
}
SourceFile: "ModuleHashes.java"
NestHost: jdk.internal.module.ModuleHashes
InnerClasses:
public Builder = jdk.internal.module.ModuleHashes$Builder of jdk.internal.module.ModuleHashes