final class jdk.internal.jrtfs.ExplodedImage$PathNode extends jdk.internal.jimage.ImageReader$Node
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jrtfs.ExplodedImage$PathNode
super_class: jdk.internal.jimage.ImageReader$Node
{
private java.nio.file.Path path;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private jdk.internal.jrtfs.ExplodedImage$PathNode link;
descriptor: Ljdk/internal/jrtfs/ExplodedImage$PathNode;
flags: (0x0002) ACC_PRIVATE
private java.util.List<jdk.internal.jimage.ImageReader$Node> children;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
final jdk.internal.jrtfs.ExplodedImage this$0;
descriptor: Ljdk/internal/jrtfs/ExplodedImage;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.internal.jrtfs.ExplodedImage, java.lang.String, java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.internal.jrtfs.ExplodedImage$PathNode.this$0:Ljdk/internal/jrtfs/ExplodedImage;
1: aload 0
aload 2
aload 4
invokespecial jdk.internal.jimage.ImageReader$Node.<init>:(Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)V
2: aload 0
aload 3
putfield jdk.internal.jrtfs.ExplodedImage$PathNode.path:Ljava/nio/file/Path;
3: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
0 4 2 name Ljava/lang/String;
0 4 3 path Ljava/nio/file/Path;
0 4 4 attrs Ljava/nio/file/attribute/BasicFileAttributes;
MethodParameters:
Name Flags
this$0 final
name
path
attrs
void <init>(jdk.internal.jrtfs.ExplodedImage, java.lang.String, jdk.internal.jimage.ImageReader$Node);
descriptor: (Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljdk/internal/jimage/ImageReader$Node;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.internal.jrtfs.ExplodedImage$PathNode.this$0:Ljdk/internal/jrtfs/ExplodedImage;
1: aload 0
aload 2
aload 3
invokevirtual jdk.internal.jimage.ImageReader$Node.getFileAttributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokespecial jdk.internal.jimage.ImageReader$Node.<init>:(Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)V
2: aload 0
aload 3
checkcast jdk.internal.jrtfs.ExplodedImage$PathNode
putfield jdk.internal.jrtfs.ExplodedImage$PathNode.link:Ljdk/internal/jrtfs/ExplodedImage$PathNode;
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
0 4 2 name Ljava/lang/String;
0 4 3 link Ljdk/internal/jimage/ImageReader$Node;
MethodParameters:
Name Flags
this$0 final
name
link
void <init>(java.lang.String, java.util.List<jdk.internal.jimage.ImageReader$Node>);
descriptor: (Ljdk/internal/jrtfs/ExplodedImage;Ljava/lang/String;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield jdk.internal.jrtfs.ExplodedImage$PathNode.this$0:Ljdk/internal/jrtfs/ExplodedImage;
1: aload 0
aload 2
aload 1
getfield jdk.internal.jrtfs.ExplodedImage.modulesDirAttrs:Ljava/nio/file/attribute/BasicFileAttributes;
invokespecial jdk.internal.jimage.ImageReader$Node.<init>:(Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)V
2: aload 0
aload 3
putfield jdk.internal.jrtfs.ExplodedImage$PathNode.children:Ljava/util/List;
3: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
0 4 2 name Ljava/lang/String;
0 4 3 children Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
Signature: (Ljava/lang/String;Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;)V
MethodParameters:
Name Flags
this$0 final
name
children
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.children:Ljava/util/List;
ifnonnull 3
1: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.link:Ljdk/internal/jrtfs/ExplodedImage$PathNode;
ifnonnull 2
aload 0
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getFileAttributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.attribute.BasicFileAttributes.isDirectory:()Z
ifne 3
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
public boolean isLink();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.link:Ljdk/internal/jrtfs/ExplodedImage$PathNode;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
public jdk.internal.jrtfs.ExplodedImage$PathNode resolveLink(boolean);
descriptor: (Z)Ljdk/internal/jrtfs/ExplodedImage$PathNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.link:Ljdk/internal/jrtfs/ExplodedImage$PathNode;
ifnonnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
iload 1
ifeq 3
aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.link:Ljdk/internal/jrtfs/ExplodedImage$PathNode;
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.isLink:()Z
ifeq 3
aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.link:Ljdk/internal/jrtfs/ExplodedImage$PathNode;
iconst_1
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.resolveLink:(Z)Ljdk/internal/jrtfs/ExplodedImage$PathNode;
goto 4
StackMap locals:
StackMap stack:
3: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.link:Ljdk/internal/jrtfs/ExplodedImage$PathNode;
StackMap locals:
StackMap stack: jdk.internal.jrtfs.ExplodedImage$PathNode
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
0 5 1 recursive Z
MethodParameters:
Name Flags
recursive
byte[] getContent();
descriptor: ()[B
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getFileAttributes:()Ljava/nio/file/attribute/BasicFileAttributes;
invokeinterface java.nio.file.attribute.BasicFileAttributes.isRegularFile:()Z
ifne 2
1: new java.nio.file.FileSystemException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not file"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.nio.file.FileSystemException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.readAllBytes:(Ljava/nio/file/Path;)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
Exceptions:
throws java.io.IOException
public java.util.List<jdk.internal.jimage.ImageReader$Node> getChildren();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.isDirectory:()Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "not a directory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.getNameString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.children:Ljava/util/List;
ifnonnull 23
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 4: aconst_null
astore 2
aconst_null
astore 3
5: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 4
start local 4 6: aload 4
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: jdk.internal.jrtfs.ExplodedImage$PathNode java.util.List java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
StackMap stack:
7: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 5
start local 5 8: getstatic jdk.internal.jrtfs.ExplodedImage.explodedModulesDir:Ljava/nio/file/Path;
aload 5
invokeinterface java.nio.file.Path.relativize:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 5
9: new java.lang.StringBuilder
dup
ldc "/modules/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.this$0:Ljdk/internal/jrtfs/ExplodedImage;
aload 5
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual jdk.internal.jrtfs.ExplodedImage.nativeSlashToFrontSlash:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 10: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.this$0:Ljdk/internal/jrtfs/ExplodedImage;
aload 7
invokevirtual jdk.internal.jrtfs.ExplodedImage.findNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 8
start local 8 11: aload 8
ifnull 13
12: aload 1
aload 8
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 7 end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
14: aload 4
ifnull 22
aload 4
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 22
StackMap locals: jdk.internal.jrtfs.ExplodedImage$PathNode java.util.List java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
15: astore 2
aload 4
ifnull 16
aload 4
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 4 StackMap locals:
StackMap stack:
16: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 3
aload 2
ifnonnull 18
aload 3
astore 2
goto 19
StackMap locals:
StackMap stack:
18: aload 2
aload 3
if_acmpeq 19
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 2
athrow
StackMap locals: jdk.internal.jrtfs.ExplodedImage$PathNode java.util.List
StackMap stack: java.io.IOException
20: pop
21: aconst_null
areturn
22: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.internal.jrtfs.ExplodedImage$PathNode.children:Ljava/util/List;
end local 1 23: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.children:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
4 23 1 list Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
6 16 4 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
8 13 5 p Ljava/nio/file/Path;
10 13 7 pName Ljava/lang/String;
11 13 8 node Ljdk/internal/jimage/ImageReader$Node;
Exception table:
from to target type
6 14 15 any
5 17 17 any
4 20 20 Class java.io.IOException
Signature: ()Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
public long size();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.isDirectory:()Z
ifeq 1
lconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.internal.jrtfs.ExplodedImage$PathNode.path:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.size:(Ljava/nio/file/Path;)J
StackMap locals:
StackMap stack: long
2: lreturn
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: new java.io.UncheckedIOException
dup
aload 1
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/jrtfs/ExplodedImage$PathNode;
4 5 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
public jdk.internal.jimage.ImageReader$Node resolveLink(boolean);
descriptor: (Z)Ljdk/internal/jimage/ImageReader$Node;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual jdk.internal.jrtfs.ExplodedImage$PathNode.resolveLink:(Z)Ljdk/internal/jrtfs/ExplodedImage$PathNode;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ExplodedImage.java"
NestHost: jdk.internal.jrtfs.ExplodedImage
InnerClasses:
public abstract Node = jdk.internal.jimage.ImageReader$Node of jdk.internal.jimage.ImageReader
private final PathNode = jdk.internal.jrtfs.ExplodedImage$PathNode of jdk.internal.jrtfs.ExplodedImage