public class org.graalvm.compiler.core.test.DumpPathTest extends org.graalvm.compiler.core.test.GraalCompilerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.core.test.DumpPathTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.DumpPathTest this
         0: .line 42
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.core.test.DumpPathTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/DumpPathTest;

  public static java.lang.Object snippet();
    descriptor: ()Ljava/lang/Object;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 45
            new java.lang.String
            dup
            ldc "snippet"
            invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void testDump();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.DumpPathTest this
         0: .line 48
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.DumpPathTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/DumpPathTest;
    Exceptions:
      throws java.io.IOException
    RuntimeInvisibleAnnotations: 
      Test()

  private static void checkForFiles(java.nio.file.Path, java.lang.String[]);
    descriptor: (Ljava/nio/file/Path;[Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=7, locals=11, args_size=2
        start local 0 // java.nio.file.Path directoryPath
        start local 1 // java.lang.String[] extensions
         0: .line 72
            aload 1 /* extensions */
            arraylength
            anewarray java.lang.String
            astore 2 /* paths */
        start local 2 // java.lang.String[] paths
         1: .line 73
            aconst_null
            astore 3
            aconst_null
            astore 4
         2: aload 0 /* directoryPath */
            invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
            astore 5 /* stream */
        start local 5 // java.nio.file.DirectoryStream stream
         3: .line 74
            aload 5 /* stream */
            invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
            astore 7
            goto 16
      StackMap locals: java.nio.file.Path java.lang.String[] java.lang.String[] java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
         4: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 6 /* filePath */
        start local 6 // java.nio.file.Path filePath
         5: .line 75
            aload 6 /* filePath */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            astore 8 /* fileName */
        start local 8 // java.lang.String fileName
         6: .line 76
            iconst_0
            istore 9 /* i */
        start local 9 // int i
         7: goto 15
         8: .line 77
      StackMap locals: java.nio.file.Path java.lang.String[] java.lang.String[] java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.lang.String int
      StackMap stack:
            aload 1 /* extensions */
            iload 9 /* i */
            aaload
            astore 10 /* extension */
        start local 10 // java.lang.String extension
         9: .line 78
            aload 8 /* fileName */
            aload 1 /* extensions */
            iload 9 /* i */
            aaload
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 14
        10: .line 79
            aload 2 /* paths */
            iload 9 /* i */
            aaload
            ifnonnull 11
            iconst_1
            goto 12
      StackMap locals: java.lang.String
      StackMap stack:
        11: iconst_0
      StackMap locals:
      StackMap stack: int
        12: ldc "multiple files found for %s in %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 10 /* extension */
            aastore
            dup
            iconst_1
            aload 0 /* directoryPath */
            aastore
            invokestatic org.graalvm.compiler.core.test.DumpPathTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
        13: .line 80
            aload 2 /* paths */
            iload 9 /* i */
            aload 8 /* fileName */
            aload 1 /* extensions */
            iload 9 /* i */
            aaload
            ldc ""
            invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
            aastore
        end local 10 // java.lang.String extension
        14: .line 76
      StackMap locals:
      StackMap stack:
            iinc 9 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 9 /* i */
            aload 1 /* extensions */
            arraylength
            if_icmplt 8
        end local 9 // int i
        end local 8 // java.lang.String fileName
        end local 6 // java.nio.file.Path filePath
        16: .line 74
      StackMap locals: java.nio.file.Path java.lang.String[] java.lang.String[] java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 4
        17: .line 84
            aload 5 /* stream */
            ifnull 23
            aload 5 /* stream */
            invokeinterface java.nio.file.DirectoryStream.close:()V
            goto 23
      StackMap locals: java.nio.file.Path java.lang.String[] java.lang.String[] java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
      StackMap stack: java.lang.Throwable
        18: astore 3
            aload 5 /* stream */
            ifnull 19
            aload 5 /* stream */
            invokeinterface java.nio.file.DirectoryStream.close:()V
        end local 5 // java.nio.file.DirectoryStream stream
      StackMap locals:
      StackMap stack:
        19: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        20: astore 4
            aload 3
            ifnonnull 21
            aload 4
            astore 3
            goto 22
      StackMap locals:
      StackMap stack:
        21: aload 3
            aload 4
            if_acmpeq 22
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        22: aload 3
            athrow
        23: .line 85
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        24: goto 29
        25: .line 86
      StackMap locals: int
      StackMap stack:
            aload 2 /* paths */
            iload 3 /* i */
            aaload
            ifnull 26
            iconst_1
            goto 27
      StackMap locals:
      StackMap stack:
        26: iconst_0
      StackMap locals:
      StackMap stack: int
        27: ldc "missing file for extension %s in %s"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* extensions */
            iload 3 /* i */
            aaload
            aastore
            dup
            iconst_1
            aload 0 /* directoryPath */
            aastore
            invokestatic org.graalvm.compiler.core.test.DumpPathTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
        28: .line 85
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        29: iload 3 /* i */
            aload 2 /* paths */
            arraylength
            if_icmplt 25
        end local 3 // int i
        30: .line 89
            iconst_1
            istore 3 /* i */
        start local 3 // int i
        31: goto 34
        32: .line 90
      StackMap locals:
      StackMap stack:
            aload 2 /* paths */
            iconst_0
            aaload
            aload 2 /* paths */
            iload 3 /* i */
            aaload
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            new java.lang.StringBuilder
            dup
            aload 2 /* paths */
            iconst_0
            aaload
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " != "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 2 /* paths */
            iload 3 /* i */
            aaload
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.Object
            invokestatic org.graalvm.compiler.core.test.DumpPathTest.assertTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
        33: .line 89
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        34: iload 3 /* i */
            aload 2 /* paths */
            arraylength
            if_icmplt 32
        end local 3 // int i
        35: .line 92
            return
        end local 2 // java.lang.String[] paths
        end local 1 // java.lang.String[] extensions
        end local 0 // java.nio.file.Path directoryPath
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   36     0  directoryPath  Ljava/nio/file/Path;
            0   36     1     extensions  [Ljava/lang/String;
            1   36     2          paths  [Ljava/lang/String;
            3   19     5         stream  Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
            5   16     6       filePath  Ljava/nio/file/Path;
            6   16     8       fileName  Ljava/lang/String;
            7   16     9              i  I
            9   14    10      extension  Ljava/lang/String;
           24   30     3              i  I
           31   35     3              i  I
      Exception table:
        from    to  target  type
           3    17      18  any
           2    20      20  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      directoryPath  
      extensions     

  private static void scrubDirectory(java.nio.file.Path);
    descriptor: (Ljava/nio/file/Path;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=6, args_size=1
        start local 0 // java.nio.file.Path directoryPath
         0: .line 99
            aconst_null
            astore 1
            aconst_null
            astore 2
         1: aload 0 /* directoryPath */
            invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
            astore 3 /* stream */
        start local 3 // java.nio.file.DirectoryStream stream
         2: .line 100
            aload 3 /* stream */
            invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
            astore 5
            goto 9
      StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
         3: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 4 /* filePath */
        start local 4 // java.nio.file.Path filePath
         4: .line 101
            aload 4 /* filePath */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 7
         5: .line 102
            aload 4 /* filePath */
            invokestatic java.nio.file.Files.delete:(Ljava/nio/file/Path;)V
         6: .line 103
            goto 9
      StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator
      StackMap stack:
         7: aload 4 /* filePath */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 9
         8: .line 104
            aload 4 /* filePath */
            invokestatic org.graalvm.compiler.core.test.DumpPathTest.scrubDirectory:(Ljava/nio/file/Path;)V
        end local 4 // java.nio.file.Path filePath
         9: .line 100
      StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        10: .line 107
            aload 3 /* stream */
            ifnull 16
            aload 3 /* stream */
            invokeinterface java.nio.file.DirectoryStream.close:()V
            goto 16
      StackMap locals: java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
      StackMap stack: java.lang.Throwable
        11: astore 1
            aload 3 /* stream */
            ifnull 12
            aload 3 /* stream */
            invokeinterface java.nio.file.DirectoryStream.close:()V
        end local 3 // java.nio.file.DirectoryStream stream
      StackMap locals:
      StackMap stack:
        12: aload 1
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 2
            aload 1
            ifnonnull 14
            aload 2
            astore 1
            goto 15
      StackMap locals:
      StackMap stack:
        14: aload 1
            aload 2
            if_acmpeq 15
            aload 1
            aload 2
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        15: aload 1
            athrow
        16: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* directoryPath */
            invokestatic java.nio.file.Files.delete:(Ljava/nio/file/Path;)V
        17: .line 109
            goto 20
      StackMap locals:
      StackMap stack: java.io.IOException
        18: astore 1 /* ioe */
        start local 1 // java.io.IOException ioe
        19: .line 110
            aload 1 /* ioe */
            invokevirtual java.io.IOException.printStackTrace:()V
        end local 1 // java.io.IOException ioe
        20: .line 112
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.nio.file.Path directoryPath
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   21     0  directoryPath  Ljava/nio/file/Path;
            2   12     3         stream  Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
            4    9     4       filePath  Ljava/nio/file/Path;
           19   20     1            ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2    10      11  any
           1    13      13  any
           0    17      18  Class java.io.IOException
    MethodParameters:
               Name  Flags
      directoryPath  
}
SourceFile: "DumpPathTest.java"