class org.graalvm.compiler.hotspot.NodeCostDumpUtil$1 extends java.nio.file.SimpleFileVisitor<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.compiler.hotspot.NodeCostDumpUtil$1
super_class: java.nio.file.SimpleFileVisitor
{
private final java.nio.file.Path val$root;
descriptor: Ljava/nio/file/Path;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.ClassLoader val$classLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.util.HashSet val$classes;
descriptor: Ljava/util/HashSet;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.nio.file.Path, java.lang.ClassLoader, java.util.HashSet);
descriptor: (Ljava/nio/file/Path;Ljava/lang/ClassLoader;Ljava/util/HashSet;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$root:Ljava/nio/file/Path;
aload 0
aload 2
putfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$classLoader:Ljava/lang/ClassLoader;
aload 0
aload 3
putfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$classes:Ljava/util/HashSet;
aload 0
invokespecial java.nio.file.SimpleFileVisitor.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/NodeCostDumpUtil$1;
MethodParameters:
Name Flags
val$root final
val$classLoader final
val$classes final
public java.nio.file.FileVisitResult visitFile(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$root:Ljava/nio/file/Path;
aload 1
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$classLoader:Ljava/lang/ClassLoader;
astore 4
start local 4 2: aload 3
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 19
3: aload 3
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.prefixed:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 4: aload 5
ifnull 9
5: aload 3
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.stripClassName:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 6: new java.net.URLClassLoader
dup
iconst_1
anewarray java.net.URL
dup
iconst_0
new java.io.File
dup
aload 6
aload 3
aload 5
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.constructURLPart:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
aastore
aload 0
getfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$classLoader:Ljava/lang/ClassLoader;
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;Ljava/lang/ClassLoader;)V
astore 4
7: aload 6
aload 5
invokestatic org.graalvm.compiler.hotspot.NodeCostDumpUtil.constructClazzPart:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
end local 6 8: goto 11
9: StackMap locals: java.lang.String java.lang.ClassLoader java.lang.String
StackMap stack:
aload 3
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 6
start local 6 10: aload 6
iconst_0
aload 6
invokevirtual java.lang.String.length:()I
ldc ".class"
invokevirtual java.lang.String.length:()I
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
end local 6 11: StackMap locals:
StackMap stack:
aload 3
iconst_0
aload 4
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 6
start local 6 12: aload 6
invokevirtual java.lang.Class.getEnclosingClass:()Ljava/lang/Class;
ifnull 16
13: aload 0
getfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$classes:Ljava/util/HashSet;
aload 6
invokevirtual java.lang.Class.getEnclosingClass:()Ljava/lang/Class;
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
14: goto 16
StackMap locals: org.graalvm.compiler.hotspot.NodeCostDumpUtil$1 java.nio.file.Path java.nio.file.attribute.BasicFileAttributes java.lang.String java.lang.ClassLoader java.lang.String java.lang.Class
StackMap stack: java.lang.Throwable
15: pop
16: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.val$classes:Ljava/util/HashSet;
aload 6
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 6 17: goto 19
StackMap locals: org.graalvm.compiler.hotspot.NodeCostDumpUtil$1 java.nio.file.Path java.nio.file.attribute.BasicFileAttributes java.lang.String java.lang.ClassLoader java.lang.String
StackMap stack: java.lang.Throwable
18: pop
end local 5 19: StackMap locals:
StackMap stack:
getstatic java.nio.file.FileVisitResult.CONTINUE:Ljava/nio/file/FileVisitResult;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/hotspot/NodeCostDumpUtil$1;
0 20 1 file Ljava/nio/file/Path;
0 20 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
1 20 3 className Ljava/lang/String;
2 20 4 c Ljava/lang/ClassLoader;
4 19 5 prefix Ljava/lang/String;
6 8 6 stripped Ljava/lang/String;
10 11 6 clazzPart Ljava/lang/String;
12 17 6 systemClass Ljava/lang/Class<*>;
Exception table:
from to target type
13 14 15 Class java.lang.Throwable
11 17 18 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
attrs
public java.nio.file.FileVisitResult visitFile(java.lang.Object, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/Object;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.nio.file.Path
aload 2
invokevirtual org.graalvm.compiler.hotspot.NodeCostDumpUtil$1.visitFile:(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
}
Signature: Ljava/nio/file/SimpleFileVisitor<Ljava/nio/file/Path;>;
SourceFile: "NodeCostDumpUtil.java"
EnclosingMethod: org.graalvm.compiler.hotspot.NodeCostDumpUtil.initAllClasses:(Ljava/nio/file/Path;Ljava/lang/ClassLoader;Ljava/util/HashSet;)V
NestHost: org.graalvm.compiler.hotspot.NodeCostDumpUtil
InnerClasses:
org.graalvm.compiler.hotspot.NodeCostDumpUtil$1