class jdk.tools.jlink.internal.ImageResourcesTree$Node
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jlink.internal.ImageResourcesTree$Node
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, jdk.tools.jlink.internal.ImageResourcesTree$Node> children;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;>;
private final jdk.tools.jlink.internal.ImageResourcesTree$Node parent;
descriptor: Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private jdk.tools.jlink.internal.ImageLocationWriter loc;
descriptor: Ljdk/tools/jlink/internal/ImageLocationWriter;
flags: (0x0002) ACC_PRIVATE
private void <init>(java.lang.String, jdk.tools.jlink.internal.ImageResourcesTree$Node);
descriptor: (Ljava/lang/String;Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
putfield jdk.tools.jlink.internal.ImageResourcesTree$Node.children:Ljava/util/Map;
2: aload 0
aload 1
putfield jdk.tools.jlink.internal.ImageResourcesTree$Node.name:Ljava/lang/String;
3: aload 0
aload 2
putfield jdk.tools.jlink.internal.ImageResourcesTree$Node.parent:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
4: aload 2
ifnull 6
5: aload 2
getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.children:Ljava/util/Map;
aload 1
aload 0
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: jdk.tools.jlink.internal.ImageResourcesTree$Node java.lang.String jdk.tools.jlink.internal.ImageResourcesTree$Node
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
0 7 1 name Ljava/lang/String;
0 7 2 parent Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
MethodParameters:
Name Flags
name
parent
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.parent:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
ifnonnull 2
1: ldc "/"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.tools.jlink.internal.ImageResourcesTree$Node.buildPath:(Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
public jdk.tools.jlink.internal.ImageResourcesTree$Node getChildren(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.children:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.tools.jlink.internal.ImageResourcesTree$Node
astore 2
start local 2 1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
0 2 1 name Ljava/lang/String;
1 2 2 item Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
MethodParameters:
Name Flags
name
private static java.lang.String buildPath(jdk.tools.jlink.internal.ImageResourcesTree$Node);
descriptor: (Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.ImageResourcesTree$Node.parent:Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
invokestatic jdk.tools.jlink.internal.ImageResourcesTree$Node.buildPath:(Ljdk/tools/jlink/internal/ImageResourcesTree$Node;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnonnull 5
4: aload 0
invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getName:()Ljava/lang/String;
areturn
5: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
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 0
invokevirtual jdk.tools.jlink.internal.ImageResourcesTree$Node.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 item Ljdk/tools/jlink/internal/ImageResourcesTree$Node;
3 6 1 path Ljava/lang/String;
MethodParameters:
Name Flags
item
}
SourceFile: "ImageResourcesTree.java"
NestHost: jdk.tools.jlink.internal.ImageResourcesTree
InnerClasses:
private Node = jdk.tools.jlink.internal.ImageResourcesTree$Node of jdk.tools.jlink.internal.ImageResourcesTree