final class jdk.internal.jimage.ImageReader$Directory extends jdk.internal.jimage.ImageReader$Node
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jimage.ImageReader$Directory
super_class: jdk.internal.jimage.ImageReader$Node
{
private final java.util.List<jdk.internal.jimage.ImageReader$Node> children;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
private void <init>(java.lang.String, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial jdk.internal.jimage.ImageReader$Node.<init>:(Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.internal.jimage.ImageReader$Directory.children:Ljava/util/List;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/jimage/ImageReader$Directory;
0 3 1 name Ljava/lang/String;
0 3 2 fileAttrs Ljava/nio/file/attribute/BasicFileAttributes;
MethodParameters:
Name Flags
name
fileAttrs
static jdk.internal.jimage.ImageReader$Directory create(jdk.internal.jimage.ImageReader$Directory, java.lang.String, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljdk/internal/jimage/ImageReader$Directory;Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)Ljdk/internal/jimage/ImageReader$Directory;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new jdk.internal.jimage.ImageReader$Directory
dup
aload 1
aload 2
invokespecial jdk.internal.jimage.ImageReader$Directory.<init>:(Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)V
astore 3
start local 3 1: aload 0
ifnull 3
2: aload 0
aload 3
invokevirtual jdk.internal.jimage.ImageReader$Directory.addChild:(Ljdk/internal/jimage/ImageReader$Node;)V
3: StackMap locals: jdk.internal.jimage.ImageReader$Directory
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 parent Ljdk/internal/jimage/ImageReader$Directory;
0 4 1 name Ljava/lang/String;
0 4 2 fileAttrs Ljava/nio/file/attribute/BasicFileAttributes;
1 4 3 d Ljdk/internal/jimage/ImageReader$Directory;
MethodParameters:
Name Flags
parent
name
fileAttrs
public boolean isDirectory();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$Directory;
public java.util.List<jdk.internal.jimage.ImageReader$Node> getChildren();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$Directory.children:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$Directory;
Signature: ()Ljava/util/List<Ljdk/internal/jimage/ImageReader$Node;>;
void addChild(jdk.internal.jimage.ImageReader$Node);
descriptor: (Ljdk/internal/jimage/ImageReader$Node;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.jimage.ImageReader$Directory.children:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jimage/ImageReader$Directory;
0 2 1 node Ljdk/internal/jimage/ImageReader$Node;
MethodParameters:
Name Flags
node
public void walk(java.util.function.Consumer<? super jdk.internal.jimage.ImageReader$Node>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
1: aload 0
getfield jdk.internal.jimage.ImageReader$Directory.children:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: jdk.internal.jimage.ImageReader$Directory java.util.function.Consumer top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Node
astore 2
start local 2 3: aload 2
invokevirtual jdk.internal.jimage.ImageReader$Node.isDirectory:()Z
ifeq 6
4: aload 2
checkcast jdk.internal.jimage.ImageReader$Directory
aload 1
invokevirtual jdk.internal.jimage.ImageReader$Directory.walk:(Ljava/util/function/Consumer;)V
5: goto 7
6: StackMap locals: jdk.internal.jimage.ImageReader$Directory java.util.function.Consumer jdk.internal.jimage.ImageReader$Node java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
end local 2 7: StackMap locals: jdk.internal.jimage.ImageReader$Directory java.util.function.Consumer top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/jimage/ImageReader$Directory;
0 9 1 consumer Ljava/util/function/Consumer<-Ljdk/internal/jimage/ImageReader$Node;>;
3 7 2 child Ljdk/internal/jimage/ImageReader$Node;
Signature: (Ljava/util/function/Consumer<-Ljdk/internal/jimage/ImageReader$Node;>;)V
MethodParameters:
Name Flags
consumer
}
SourceFile: "ImageReader.java"
NestHost: jdk.internal.jimage.ImageReader
InnerClasses:
final Directory = jdk.internal.jimage.ImageReader$Directory of jdk.internal.jimage.ImageReader
public abstract Node = jdk.internal.jimage.ImageReader$Node of jdk.internal.jimage.ImageReader