class org.graalvm.component.installer.TestBase$ClassTempFolder extends org.junit.rules.TemporaryFolder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.component.installer.TestBase$ClassTempFolder
super_class: org.junit.rules.TemporaryFolder
{
java.lang.ThreadLocal<java.io.File> root;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0000)
Signature: Ljava/lang/ThreadLocal<Ljava/io/File;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.junit.rules.TemporaryFolder.<init>:()V
1: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield org.graalvm.component.installer.TestBase$ClassTempFolder.root:Ljava/lang/ThreadLocal;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/TestBase$ClassTempFolder;
public void delete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.TestBase$ClassTempFolder.root:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.io.File
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 1
invokevirtual org.graalvm.component.installer.TestBase$ClassTempFolder.recursiveDelete:(Ljava/io/File;)V
3: StackMap locals: java.io.File
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase$ClassTempFolder.root:Ljava/lang/ThreadLocal;
aconst_null
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/TestBase$ClassTempFolder;
1 5 1 folder Ljava/io/File;
private void recursiveDelete(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.listFiles:()[Ljava/io/File;
astore 2
start local 2 1: aload 2
ifnull 7
2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.graalvm.component.installer.TestBase$ClassTempFolder java.io.File java.io.File[] top int int java.io.File[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 0
aload 3
invokevirtual org.graalvm.component.installer.TestBase$ClassTempFolder.recursiveDelete:(Ljava/io/File;)V
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
7: StackMap locals: org.graalvm.component.installer.TestBase$ClassTempFolder java.io.File java.io.File[]
StackMap stack:
aload 1
invokevirtual java.io.File.delete:()Z
pop
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/TestBase$ClassTempFolder;
0 9 1 file Ljava/io/File;
1 9 2 files [Ljava/io/File;
4 5 3 each Ljava/io/File;
MethodParameters:
Name Flags
file
public java.io.File getRoot();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.TestBase$ClassTempFolder.root:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.io.File
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase$ClassTempFolder;
public void create();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc "junit"
ldc ""
aconst_null
invokestatic java.io.File.createTempFile:(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File;
astore 1
start local 1 1: aload 1
invokevirtual java.io.File.delete:()Z
pop
2: aload 1
invokevirtual java.io.File.mkdir:()Z
pop
3: aload 0
getfield org.graalvm.component.installer.TestBase$ClassTempFolder.root:Ljava/lang/ThreadLocal;
aload 1
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/TestBase$ClassTempFolder;
1 5 1 createdFolder Ljava/io/File;
Exceptions:
throws java.io.IOException
}
SourceFile: "TestBase.java"
NestHost: org.graalvm.component.installer.TestBase
InnerClasses:
ClassTempFolder = org.graalvm.component.installer.TestBase$ClassTempFolder of org.graalvm.component.installer.TestBase