class jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule implements jdk.tools.jlink.plugin.ResourcePoolModule
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule
super_class: java.lang.Object
{
final jdk.tools.jlink.plugin.ResourcePoolModule module;
descriptor: Ljdk/tools/jlink/plugin/ResourcePoolModule;
flags: (0x0010) ACC_FINAL
java.lang.module.ModuleDescriptor descriptor;
descriptor: Ljava/lang/module/ModuleDescriptor;
flags: (0x0000)
jdk.internal.module.ModuleTarget target;
descriptor: Ljdk/internal/module/ModuleTarget;
flags: (0x0000)
final jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager this$1;
descriptor: Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager, jdk.tools.jlink.plugin.ResourcePoolModule);
descriptor: (Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager;Ljdk/tools/jlink/plugin/ResourcePoolModule;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.this$1:Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.module:Ljdk/tools/jlink/plugin/ResourcePoolModule;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
0 3 2 module Ljdk/tools/jlink/plugin/ResourcePoolModule;
MethodParameters:
Name Flags
this$0 final
module
public java.lang.String name();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.module:Ljdk/tools/jlink/plugin/ResourcePoolModule;
invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
public java.util.Optional<jdk.tools.jlink.plugin.ResourcePoolEntry> findEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.module:Ljdk/tools/jlink/plugin/ResourcePoolModule;
aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.findEntry:(Ljava/lang/String;)Ljava/util/Optional;
astore 2
start local 2 1: aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.this$1:Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager;
aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.ResourcePoolEntry
invokevirtual jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager.getUncompressed:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
goto 3
StackMap locals: java.util.Optional
StackMap stack:
2: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
StackMap locals:
StackMap stack: java.util.Optional
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
0 4 1 path Ljava/lang/String;
1 4 2 d Ljava/util/Optional<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
MethodParameters:
Name Flags
path
public java.lang.module.ModuleDescriptor descriptor();
descriptor: ()Ljava/lang/module/ModuleDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.initModuleAttributes:()V
1: aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.descriptor:Ljava/lang/module/ModuleDescriptor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
public java.lang.String targetPlatform();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.initModuleAttributes:()V
1: aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.target:Ljdk/internal/module/ModuleTarget;
ifnull 2
aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.target:Ljdk/internal/module/ModuleTarget;
invokevirtual jdk.internal.module.ModuleTarget.targetPlatform:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
private void initModuleAttributes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.descriptor:Ljava/lang/module/ModuleDescriptor;
ifnonnull 4
1: aload 0
invokestatic jdk.tools.jlink.internal.ResourcePoolManager.readModuleAttributes:(Ljdk/tools/jlink/plugin/ResourcePoolModule;)Ljdk/internal/module/ModuleInfo$Attributes;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual jdk.internal.module.ModuleInfo$Attributes.descriptor:()Ljava/lang/module/ModuleDescriptor;
putfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.descriptor:Ljava/lang/module/ModuleDescriptor;
3: aload 0
aload 1
invokevirtual jdk.internal.module.ModuleInfo$Attributes.target:()Ljdk/internal/module/ModuleTarget;
putfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.target:Ljdk/internal/module/ModuleTarget;
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
2 4 1 attr Ljdk/internal/module/ModuleInfo$Attributes;
public java.util.Set<java.lang.String> packages();
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.ImagePluginStack$LastPoolManager$LastModule.module:Ljdk/tools/jlink/plugin/ResourcePoolModule;
invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.packages:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.name:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
public java.util.stream.Stream<jdk.tools.jlink.plugin.ResourcePoolEntry> entries();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.module:Ljdk/tools/jlink/plugin/ResourcePoolModule;
invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.entries:()Ljava/util/stream/Stream;
aload 0
aload 1
invokedynamic accept(Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;Ljava/util/List;)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
jdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule.lambda$0(Ljava/util/List;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V (7)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
2: aload 1
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
1 3 1 lst Ljava/util/List<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
Signature: ()Ljava/util/stream/Stream<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
public int entryCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.module:Ljdk/tools/jlink/plugin/ResourcePoolModule;
invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.entryCount:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
private void lambda$0(java.util.List, jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljava/util/List;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 1
aload 0
getfield jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule.this$1:Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager;
aload 2
invokevirtual jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager.getUncompressed:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/ImagePluginStack$LastPoolManager$LastModule;
0 2 2 md Ljdk/tools/jlink/plugin/ResourcePoolEntry;
}
SourceFile: "ImagePluginStack.java"
NestHost: jdk.tools.jlink.internal.ImagePluginStack
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Attributes = jdk.internal.module.ModuleInfo$Attributes of jdk.internal.module.ModuleInfo
private LastPoolManager = jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager of jdk.tools.jlink.internal.ImagePluginStack
private LastModule = jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager$LastModule of jdk.tools.jlink.internal.ImagePluginStack$LastPoolManager