public class org.jruby.ir.persistence.util.IRFileExpert
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.ir.persistence.util.IRFileExpert
  super_class: java.lang.Object
{
  private static final java.lang.String IR_FILE_EXTENSION;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: ".ir"

  private static final java.lang.String IR_FOLDER;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.lang.String EXTENSION_SEPARATOR;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "."

  private static final java.io.File IR_ROOT_FOLDER;
    descriptor: Ljava/io/File;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 9
            getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
            ifeq 1
            ldc "ir"
            goto 2
      StackMap locals:
      StackMap stack:
         1: ldc ".ir"
      StackMap locals:
      StackMap stack: java.lang.String
         2: putstatic org.jruby.ir.persistence.util.IRFileExpert.IR_FOLDER:Ljava/lang/String;
         3: .line 11
            new java.io.File
            dup
            ldc "user.home"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            getstatic org.jruby.ir.persistence.util.IRFileExpert.IR_FOLDER:Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            putstatic org.jruby.ir.persistence.util.IRFileExpert.IR_ROOT_FOLDER:Ljava/io/File;
            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.jruby.ir.persistence.util.IRFileExpert this
         0: .line 7
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.ir.persistence.util.IRFileExpert this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/ir/persistence/util/IRFileExpert;

  public static java.io.File getIRPersistedFile(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/io/File;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=7, locals=6, args_size=1
        start local 0 // java.lang.String fileName
         0: .line 15
            new java.io.File
            dup
            aload 0 /* fileName */
            ldc "file:"
            ldc ""
            invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            astore 1 /* path */
        start local 1 // java.lang.String path
         1: .line 18
            aload 1 /* path */
            getstatic java.io.File.separator:Ljava/lang/String;
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
            istore 2 /* fileNameIndex */
        start local 2 // int fileNameIndex
         2: .line 19
            iload 2 /* fileNameIndex */
            iconst_m1
            if_icmpne 3
            getstatic org.jruby.ir.persistence.util.IRFileExpert.IR_ROOT_FOLDER:Ljava/io/File;
            goto 4
         3: .line 20
      StackMap locals: java.lang.String int
      StackMap stack:
            new java.io.File
            dup
            getstatic org.jruby.ir.persistence.util.IRFileExpert.IR_ROOT_FOLDER:Ljava/io/File;
            aload 1 /* path */
            iconst_0
            iload 2 /* fileNameIndex */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
         4: .line 19
      StackMap locals:
      StackMap stack: java.io.File
            astore 3 /* folder */
        start local 3 // java.io.File folder
         5: .line 22
            aload 3 /* folder */
            invokevirtual java.io.File.mkdirs:()Z
            pop
         6: .line 24
            aload 1 /* path */
            ldc "."
            invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
            istore 4 /* extensionIndex */
        start local 4 // int extensionIndex
         7: .line 25
            iload 4 /* extensionIndex */
            iconst_m1
            if_icmpeq 8
            iload 4 /* extensionIndex */
            iload 2 /* fileNameIndex */
            if_icmpge 9
         8: .line 26
      StackMap locals: java.io.File int
      StackMap stack:
            aload 1 /* path */
            iload 2 /* fileNameIndex */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            goto 10
      StackMap locals:
      StackMap stack:
         9: aload 1 /* path */
            iload 2 /* fileNameIndex */
            iload 4 /* extensionIndex */
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
        10: .line 25
      StackMap locals:
      StackMap stack: java.lang.String
            astore 5 /* bareFilename */
        start local 5 // java.lang.String bareFilename
        11: .line 28
            new java.io.File
            dup
            aload 3 /* folder */
            new java.lang.StringBuilder
            dup
            aload 5 /* bareFilename */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".ir"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
            areturn
        end local 5 // java.lang.String bareFilename
        end local 4 // int extensionIndex
        end local 3 // java.io.File folder
        end local 2 // int fileNameIndex
        end local 1 // java.lang.String path
        end local 0 // java.lang.String fileName
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   12     0        fileName  Ljava/lang/String;
            1   12     1            path  Ljava/lang/String;
            2   12     2   fileNameIndex  I
            5   12     3          folder  Ljava/io/File;
            7   12     4  extensionIndex  I
           11   12     5    bareFilename  Ljava/lang/String;
    MethodParameters:
          Name  Flags
      fileName  
}
SourceFile: "IRFileExpert.java"