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 // jdk.tools.jlink.internal.ResourcePoolEntryFactory this
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.tools.jlink.internal.ResourcePoolEntryFactory this
      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 // java.lang.String path
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry$Type type
        start local 2 // byte[] content
         0: .line 36
            new jdk.tools.jlink.internal.ByteArrayResourcePoolEntry
            dup
            aload 0 /* path */
            invokestatic jdk.tools.jlink.internal.ResourcePoolEntryFactory.moduleFrom:(Ljava/lang/String;)Ljava/lang/String;
            aload 0 /* path */
            aload 1 /* type */
            aload 2 /* content */
            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 // byte[] content
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry$Type type
        end local 0 // java.lang.String path
      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 // java.lang.String path
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry$Type type
        start local 2 // java.nio.file.Path file
         0: .line 41
            new jdk.tools.jlink.internal.PathResourcePoolEntry
            dup
            aload 0 /* path */
            invokestatic jdk.tools.jlink.internal.ResourcePoolEntryFactory.moduleFrom:(Ljava/lang/String;)Ljava/lang/String;
            aload 0 /* path */
            aload 1 /* type */
            aload 2 /* file */
            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 // java.nio.file.Path file
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry$Type type
        end local 0 // java.lang.String path
      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 // jdk.tools.jlink.plugin.ResourcePoolEntry original
        start local 1 // byte[] content
         0: .line 45
            new jdk.tools.jlink.internal.ByteArrayResourcePoolEntry
            dup
            aload 0 /* original */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.moduleName:()Ljava/lang/String;
         1: .line 46
            aload 0 /* original */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
            aload 0 /* original */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
            aload 1 /* content */
         2: .line 45
            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 // byte[] content
        end local 0 // jdk.tools.jlink.plugin.ResourcePoolEntry original
      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 // jdk.tools.jlink.plugin.ResourcePoolEntry original
        start local 1 // java.nio.file.Path file
         0: .line 50
            new jdk.tools.jlink.internal.PathResourcePoolEntry
            dup
            aload 0 /* original */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.moduleName:()Ljava/lang/String;
         1: .line 51
            aload 0 /* original */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
            aload 0 /* original */
            invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
            aload 1 /* file */
         2: .line 50
            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 // java.nio.file.Path file
        end local 0 // jdk.tools.jlink.plugin.ResourcePoolEntry original
      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 // java.lang.String path
        start local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry$Type type
        start local 2 // jdk.tools.jlink.plugin.ResourcePoolEntry target
         0: .line 57
            new jdk.tools.jlink.internal.SymLinkResourcePoolEntry
            dup
            aload 0 /* path */
            invokestatic jdk.tools.jlink.internal.ResourcePoolEntryFactory.moduleFrom:(Ljava/lang/String;)Ljava/lang/String;
            aload 0 /* path */
            aload 1 /* type */
            aload 2 /* target */
            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 // jdk.tools.jlink.plugin.ResourcePoolEntry target
        end local 1 // jdk.tools.jlink.plugin.ResourcePoolEntry$Type type
        end local 0 // java.lang.String path
      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 // java.lang.String path
         0: .line 61
            aload 0 /* path */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 62
            aload 0 /* path */
            invokevirtual java.lang.String.isEmpty:()Z
            ifne 2
            aload 0 /* path */
            iconst_0
            invokevirtual java.lang.String.charAt:(I)C
            bipush 47
            if_icmpeq 3
         2: .line 63
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            aload 0 /* path */
            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: .line 65
      StackMap locals:
      StackMap stack:
            aload 0 /* path */
            iconst_1
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            astore 1 /* noRoot */
        start local 1 // java.lang.String noRoot
         4: .line 66
            aload 1 /* noRoot */
            bipush 47
            invokevirtual java.lang.String.indexOf:(I)I
            istore 2 /* idx */
        start local 2 // int idx
         5: .line 67
            iload 2 /* idx */
            iconst_m1
            if_icmpne 7
         6: .line 68
            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 /* path */
            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: .line 70
      StackMap locals: java.lang.String int
      StackMap stack:
            aload 1 /* noRoot */
            iconst_0
            iload 2 /* idx */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            areturn
        end local 2 // int idx
        end local 1 // java.lang.String noRoot
        end local 0 // java.lang.String path
      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