public class org.graalvm.compiler.options.UniquePathUtilities
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.options.UniquePathUtilities
  super_class: java.lang.Object
{
  private static final java.util.concurrent.atomic.AtomicLong globalTimeStamp;
    descriptor: Ljava/util/concurrent/atomic/AtomicLong;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.ThreadLocal<java.lang.Integer> threadDumpId;
    descriptor: Ljava/lang/ThreadLocal;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/lang/ThreadLocal<Ljava/lang/Integer;>;

  private static final java.util.concurrent.atomic.AtomicInteger dumpId;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 32
            new java.util.concurrent.atomic.AtomicLong
            dup
            invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
            putstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
         1: .line 36
            new java.lang.ThreadLocal
            dup
            invokespecial java.lang.ThreadLocal.<init>:()V
            putstatic org.graalvm.compiler.options.UniquePathUtilities.threadDumpId:Ljava/lang/ThreadLocal;
         2: .line 37
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            putstatic org.graalvm.compiler.options.UniquePathUtilities.dumpId:Ljava/util/concurrent/atomic/AtomicInteger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.options.UniquePathUtilities this
         0: .line 30
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.options.UniquePathUtilities this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/options/UniquePathUtilities;

  private static int getThreadDumpId();
    descriptor: ()I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 40
            getstatic org.graalvm.compiler.options.UniquePathUtilities.threadDumpId:Ljava/lang/ThreadLocal;
            invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
            checkcast java.lang.Integer
            astore 0 /* id */
        start local 0 // java.lang.Integer id
         1: .line 41
            aload 0 /* id */
            ifnonnull 4
         2: .line 42
            getstatic org.graalvm.compiler.options.UniquePathUtilities.dumpId:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            astore 0 /* id */
         3: .line 43
            getstatic org.graalvm.compiler.options.UniquePathUtilities.threadDumpId:Ljava/lang/ThreadLocal;
            aload 0 /* id */
            invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
         4: .line 45
      StackMap locals: java.lang.Integer
      StackMap stack:
            aload 0 /* id */
            invokevirtual java.lang.Integer.intValue:()I
            ireturn
        end local 0 // java.lang.Integer id
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    5     0    id  Ljava/lang/Integer;

  private static java.lang.String formatExtension(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/String;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // java.lang.String ext
         0: .line 49
            aload 0 /* ext */
            ifnull 1
            aload 0 /* ext */
            invokevirtual java.lang.String.length:()I
            ifne 2
         1: .line 50
      StackMap locals:
      StackMap stack:
            ldc ""
            areturn
         2: .line 52
      StackMap locals:
      StackMap stack:
            new java.lang.StringBuilder
            dup
            ldc "."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* ext */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            areturn
        end local 0 // java.lang.String ext
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0   ext  Ljava/lang/String;
    MethodParameters:
      Name  Flags
      ext   

  public static long getGlobalTimeStamp();
    descriptor: ()J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=0, args_size=0
         0: .line 56
            getstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lconst_0
            lcmp
            ifne 2
         1: .line 57
            getstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
            lconst_0
            invokestatic java.lang.System.currentTimeMillis:()J
            invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
            pop
         2: .line 59
      StackMap locals:
      StackMap stack:
            getstatic org.graalvm.compiler.options.UniquePathUtilities.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
            invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
            lreturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public static java.nio.file.Path getPath(org.graalvm.compiler.options.OptionValue<java.lang.String>, org.graalvm.compiler.options.OptionValue<java.lang.String>, java.lang.String);
    descriptor: (Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;)Ljava/nio/file/Path;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.graalvm.compiler.options.OptionValue option
        start local 1 // org.graalvm.compiler.options.OptionValue defaultDirectory
        start local 2 // java.lang.String extension
         0: .line 70
            aload 0 /* option */
            aload 1 /* defaultDirectory */
            aload 2 /* extension */
            iconst_1
            invokestatic org.graalvm.compiler.options.UniquePathUtilities.getPath:(Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;Z)Ljava/nio/file/Path;
            areturn
        end local 2 // java.lang.String extension
        end local 1 // org.graalvm.compiler.options.OptionValue defaultDirectory
        end local 0 // org.graalvm.compiler.options.OptionValue option
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0            option  Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
            0    1     1  defaultDirectory  Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
            0    1     2         extension  Ljava/lang/String;
    Signature: (Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Ljava/lang/String;)Ljava/nio/file/Path;
    MethodParameters:
                  Name  Flags
      option            
      defaultDirectory  
      extension         

  public static java.nio.file.Path getPathGlobal(org.graalvm.compiler.options.OptionValue<java.lang.String>, org.graalvm.compiler.options.OptionValue<java.lang.String>, java.lang.String);
    descriptor: (Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;)Ljava/nio/file/Path;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.graalvm.compiler.options.OptionValue option
        start local 1 // org.graalvm.compiler.options.OptionValue defaultDirectory
        start local 2 // java.lang.String extension
         0: .line 81
            aload 0 /* option */
            aload 1 /* defaultDirectory */
            aload 2 /* extension */
            iconst_0
            invokestatic org.graalvm.compiler.options.UniquePathUtilities.getPath:(Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;Z)Ljava/nio/file/Path;
            areturn
        end local 2 // java.lang.String extension
        end local 1 // org.graalvm.compiler.options.OptionValue defaultDirectory
        end local 0 // org.graalvm.compiler.options.OptionValue option
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0            option  Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
            0    1     1  defaultDirectory  Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
            0    1     2         extension  Ljava/lang/String;
    Signature: (Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Ljava/lang/String;)Ljava/nio/file/Path;
    MethodParameters:
                  Name  Flags
      option            
      defaultDirectory  
      extension         

  private static java.nio.file.Path getPath(org.graalvm.compiler.options.OptionValue<java.lang.String>, org.graalvm.compiler.options.OptionValue<java.lang.String>, java.lang.String, boolean);
    descriptor: (Lorg/graalvm/compiler/options/OptionValue;Lorg/graalvm/compiler/options/OptionValue;Ljava/lang/String;Z)Ljava/nio/file/Path;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=6, locals=6, args_size=4
        start local 0 // org.graalvm.compiler.options.OptionValue option
        start local 1 // org.graalvm.compiler.options.OptionValue defaultDirectory
        start local 2 // java.lang.String extension
        start local 3 // boolean includeThreadId
         0: .line 85
            aload 0 /* option */
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            ifnonnull 2
         1: .line 86
            aconst_null
            areturn
         2: .line 88
      StackMap locals:
      StackMap stack:
            iload 3 /* includeThreadId */
            ifeq 4
         3: .line 89
            ldc "%s-%d_%d%s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* option */
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            aastore
            dup
            iconst_1
            invokestatic org.graalvm.compiler.options.UniquePathUtilities.getGlobalTimeStamp:()J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_2
            invokestatic org.graalvm.compiler.options.UniquePathUtilities.getThreadDumpId:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_3
            aload 2 /* extension */
            invokestatic org.graalvm.compiler.options.UniquePathUtilities.formatExtension:(Ljava/lang/String;)Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            goto 5
         4: .line 90
      StackMap locals:
      StackMap stack:
            ldc "%s-%d%s"
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* option */
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            aastore
            dup
            iconst_1
            invokestatic org.graalvm.compiler.options.UniquePathUtilities.getGlobalTimeStamp:()J
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            aastore
            dup
            iconst_2
            aload 2 /* extension */
            invokestatic org.graalvm.compiler.options.UniquePathUtilities.formatExtension:(Ljava/lang/String;)Ljava/lang/String;
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         5: .line 88
      StackMap locals:
      StackMap stack: java.lang.String
            astore 4 /* name */
        start local 4 // java.lang.String name
         6: .line 91
            aload 4 /* name */
            iconst_0
            anewarray java.lang.String
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 5 /* result */
        start local 5 // java.nio.file.Path result
         7: .line 92
            aload 5 /* result */
            invokeinterface java.nio.file.Path.isAbsolute:()Z
            ifne 8
            aload 1 /* defaultDirectory */
            ifnonnull 9
         8: .line 93
      StackMap locals: java.lang.String java.nio.file.Path
      StackMap stack:
            aload 5 /* result */
            areturn
         9: .line 95
      StackMap locals:
      StackMap stack:
            aload 1 /* defaultDirectory */
            invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
            checkcast java.lang.String
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            aload 4 /* name */
            aastore
            invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            areturn
        end local 5 // java.nio.file.Path result
        end local 4 // java.lang.String name
        end local 3 // boolean includeThreadId
        end local 2 // java.lang.String extension
        end local 1 // org.graalvm.compiler.options.OptionValue defaultDirectory
        end local 0 // org.graalvm.compiler.options.OptionValue option
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   10     0            option  Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
            0   10     1  defaultDirectory  Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;
            0   10     2         extension  Ljava/lang/String;
            0   10     3   includeThreadId  Z
            6   10     4              name  Ljava/lang/String;
            7   10     5            result  Ljava/nio/file/Path;
    Signature: (Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Lorg/graalvm/compiler/options/OptionValue<Ljava/lang/String;>;Ljava/lang/String;Z)Ljava/nio/file/Path;
    MethodParameters:
                  Name  Flags
      option            
      defaultDirectory  
      extension         
      includeThreadId   
}
SourceFile: "UniquePathUtilities.java"