public interface jdk.tools.jlink.plugin.ResourcePool
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: jdk.tools.jlink.plugin.ResourcePool
super_class: java.lang.Object
{
public abstract jdk.tools.jlink.plugin.ResourcePoolModuleView moduleView();
descriptor: ()Ljdk/tools/jlink/plugin/ResourcePoolModuleView;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.stream.Stream<jdk.tools.jlink.plugin.ResourcePoolEntry> entries();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/stream/Stream<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
public abstract int entryCount();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.Optional<jdk.tools.jlink.plugin.ResourcePoolEntry> findEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
MethodParameters:
Name Flags
path
public abstract java.util.Optional<jdk.tools.jlink.plugin.ResourcePoolEntry> findEntryInContext(java.lang.String, jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljava/util/Optional;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljava/util/Optional<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
MethodParameters:
Name Flags
path
context
public abstract boolean contains(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
data
public abstract boolean isEmpty();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.nio.ByteOrder byteOrder();
descriptor: ()Ljava/nio/ByteOrder;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public void transformAndCopy(java.util.function.Function<jdk.tools.jlink.plugin.ResourcePoolEntry, jdk.tools.jlink.plugin.ResourcePoolEntry>, jdk.tools.jlink.plugin.ResourcePoolBuilder);
descriptor: (Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePool.entries:()Ljava/util/stream/Stream;
aload 1
aload 2
invokedynamic accept(Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)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/plugin/ResourcePool.lambda$0(Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V (6 itf)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/plugin/ResourcePool;
0 2 1 transform Ljava/util/function/Function<Ljdk/tools/jlink/plugin/ResourcePoolEntry;Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
0 2 2 outBuilder Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
Signature: (Ljava/util/function/Function<Ljdk/tools/jlink/plugin/ResourcePoolEntry;Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
MethodParameters:
Name Flags
transform
outBuilder
private static void lambda$0(java.util.function.Function, jdk.tools.jlink.plugin.ResourcePoolBuilder, jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=3
start local 2 0: aload 0
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.ResourcePoolEntry
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 1
aload 3
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
end local 3 3: StackMap locals:
StackMap stack:
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
1 3 3 res Ljdk/tools/jlink/plugin/ResourcePoolEntry;
}
SourceFile: "ResourcePool.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles