class sun.tools.jar.Main$Hasher$2 implements java.lang.module.ModuleFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jar.Main$Hasher$2
super_class: java.lang.Object
{
final sun.tools.jar.Main$Hasher this$1;
descriptor: Lsun/tools/jar/Main$Hasher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.module.ModuleDescriptor val$descriptor;
descriptor: Ljava/lang/module/ModuleDescriptor;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.module.ModuleReference val$mref;
descriptor: Ljava/lang/module/ModuleReference;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(sun.tools.jar.Main$Hasher, java.lang.module.ModuleDescriptor, java.lang.module.ModuleReference);
descriptor: (Lsun/tools/jar/Main$Hasher;Ljava/lang/module/ModuleDescriptor;Ljava/lang/module/ModuleReference;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield sun.tools.jar.Main$Hasher$2.this$1:Lsun/tools/jar/Main$Hasher;
aload 0
aload 2
putfield sun.tools.jar.Main$Hasher$2.val$descriptor:Ljava/lang/module/ModuleDescriptor;
aload 0
aload 3
putfield sun.tools.jar.Main$Hasher$2.val$mref:Ljava/lang/module/ModuleReference;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/Main$Hasher$2;
MethodParameters:
Name Flags
this$0 final
val$descriptor final
val$mref final
public java.util.Optional<java.lang.module.ModuleReference> find(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jar.Main$Hasher$2.val$descriptor:Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield sun.tools.jar.Main$Hasher$2.val$mref:Ljava/lang/module/ModuleReference;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jar/Main$Hasher$2;
0 3 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/lang/module/ModuleReference;>;
MethodParameters:
Name Flags
name
public java.util.Set<java.lang.module.ModuleReference> findAll();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.Main$Hasher$2.val$mref:Ljava/lang/module/ModuleReference;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/Main$Hasher$2;
Signature: ()Ljava/util/Set<Ljava/lang/module/ModuleReference;>;
}
SourceFile: "Main.java"
EnclosingMethod: sun.tools.jar.Main$Hasher.<init>:(Lsun/tools/jar/Main;Ljava/lang/module/ModuleDescriptor;Ljava/lang/String;)V
NestHost: sun.tools.jar.Main
InnerClasses:
private Hasher = sun.tools.jar.Main$Hasher of sun.tools.jar.Main
sun.tools.jar.Main$Hasher$2