public final class jdk.tools.jlink.internal.ResourcePoolEntryFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.ResourcePoolEntryFactory
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ResourcePoolEntryFactory;
public static jdk.tools.jlink.plugin.ResourcePoolEntry create(java.lang.String, jdk.tools.jlink.plugin.ResourcePoolEntry$Type, byte[]);
descriptor: (Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;[B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.tools.jlink.internal.ByteArrayResourcePoolEntry
dup
aload 0
invokestatic jdk.tools.jlink.internal.ResourcePoolEntryFactory.moduleFrom:(Ljava/lang/String;)Ljava/lang/String;
aload 0
aload 1
aload 2
invokespecial jdk.tools.jlink.internal.ByteArrayResourcePoolEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;[B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
0 1 1 type Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
0 1 2 content [B
MethodParameters:
Name Flags
path
type
content
public static jdk.tools.jlink.plugin.ResourcePoolEntry create(java.lang.String, jdk.tools.jlink.plugin.ResourcePoolEntry$Type, java.nio.file.Path);
descriptor: (Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;Ljava/nio/file/Path;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.tools.jlink.internal.PathResourcePoolEntry
dup
aload 0
invokestatic jdk.tools.jlink.internal.ResourcePoolEntryFactory.moduleFrom:(Ljava/lang/String;)Ljava/lang/String;
aload 0
aload 1
aload 2
invokespecial jdk.tools.jlink.internal.PathResourcePoolEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;Ljava/nio/file/Path;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
0 1 1 type Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
0 1 2 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
path
type
file
public static jdk.tools.jlink.plugin.ResourcePoolEntry create(jdk.tools.jlink.plugin.ResourcePoolEntry, byte[]);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;[B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new jdk.tools.jlink.internal.ByteArrayResourcePoolEntry
dup
aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.moduleName:()Ljava/lang/String;
1: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
aload 1
2: invokespecial jdk.tools.jlink.internal.ByteArrayResourcePoolEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;[B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 original Ljdk/tools/jlink/plugin/ResourcePoolEntry;
0 3 1 content [B
MethodParameters:
Name Flags
original
content
public static jdk.tools.jlink.plugin.ResourcePoolEntry create(jdk.tools.jlink.plugin.ResourcePoolEntry, java.nio.file.Path);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;Ljava/nio/file/Path;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new jdk.tools.jlink.internal.PathResourcePoolEntry
dup
aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.moduleName:()Ljava/lang/String;
1: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
aload 1
2: invokespecial jdk.tools.jlink.internal.PathResourcePoolEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;Ljava/nio/file/Path;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 original Ljdk/tools/jlink/plugin/ResourcePoolEntry;
0 3 1 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
original
file
public static jdk.tools.jlink.plugin.ResourcePoolEntry createSymbolicLink(java.lang.String, jdk.tools.jlink.plugin.ResourcePoolEntry$Type, jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new jdk.tools.jlink.internal.SymLinkResourcePoolEntry
dup
aload 0
invokestatic jdk.tools.jlink.internal.ResourcePoolEntryFactory.moduleFrom:(Ljava/lang/String;)Ljava/lang/String;
aload 0
aload 1
aload 2
invokespecial jdk.tools.jlink.internal.SymLinkResourcePoolEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
0 1 1 type Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
0 1 2 target Ljdk/tools/jlink/plugin/ResourcePoolEntry;
MethodParameters:
Name Flags
path
type
target
private static java.lang.String moduleFrom(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 2
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 3
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " must start with /"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
start local 1 4: aload 1
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 2
start local 2 5: iload 2
iconst_m1
if_icmpne 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "/ missing after module: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.String int
StackMap stack:
aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 path Ljava/lang/String;
4 8 1 noRoot Ljava/lang/String;
5 8 2 idx I
MethodParameters:
Name Flags
path
}
SourceFile: "ResourcePoolEntryFactory.java"
InnerClasses:
public final Type = jdk.tools.jlink.plugin.ResourcePoolEntry$Type of jdk.tools.jlink.plugin.ResourcePoolEntry