class jdk.internal.jimage.ImageReader$Resource extends jdk.internal.jimage.ImageReader$Node
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.jimage.ImageReader$Resource
super_class: jdk.internal.jimage.ImageReader$Node
{
private final jdk.internal.jimage.ImageLocation loc;
descriptor: Ljdk/internal/jimage/ImageLocation;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>(jdk.internal.jimage.ImageLocation, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljdk/internal/jimage/ImageLocation;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
iconst_1
invokevirtual jdk.internal.jimage.ImageLocation.getFullName:(Z)Ljava/lang/String;
aload 2
invokespecial jdk.internal.jimage.ImageReader$Node.<init>:(Ljava/lang/String;Ljava/nio/file/attribute/BasicFileAttributes;)V
1: aload 0
aload 1
putfield jdk.internal.jimage.ImageReader$Resource.loc:Ljdk/internal/jimage/ImageLocation;
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$Resource;
0 3 1 loc Ljdk/internal/jimage/ImageLocation;
0 3 2 fileAttrs Ljava/nio/file/attribute/BasicFileAttributes;
MethodParameters:
Name Flags
loc
fileAttrs
static jdk.internal.jimage.ImageReader$Resource create(jdk.internal.jimage.ImageReader$Directory, jdk.internal.jimage.ImageLocation, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljdk/internal/jimage/ImageReader$Directory;Ljdk/internal/jimage/ImageLocation;Ljava/nio/file/attribute/BasicFileAttributes;)Ljdk/internal/jimage/ImageReader$Resource;
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$Resource
dup
aload 1
aload 2
invokespecial jdk.internal.jimage.ImageReader$Resource.<init>:(Ljdk/internal/jimage/ImageLocation;Ljava/nio/file/attribute/BasicFileAttributes;)V
astore 3
start local 3 1: aload 0
aload 3
invokevirtual jdk.internal.jimage.ImageReader$Directory.addChild:(Ljdk/internal/jimage/ImageReader$Node;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 parent Ljdk/internal/jimage/ImageReader$Directory;
0 3 1 loc Ljdk/internal/jimage/ImageLocation;
0 3 2 fileAttrs Ljava/nio/file/attribute/BasicFileAttributes;
1 3 3 rs Ljdk/internal/jimage/ImageReader$Resource;
MethodParameters:
Name Flags
parent
loc
fileAttrs
public boolean isCompleted();
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$Resource;
public boolean isResource();
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$Resource;
public jdk.internal.jimage.ImageLocation getLocation();
descriptor: ()Ljdk/internal/jimage/ImageLocation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$Resource.loc:Ljdk/internal/jimage/ImageLocation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$Resource;
public long size();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$Resource.loc:Ljdk/internal/jimage/ImageLocation;
invokevirtual jdk.internal.jimage.ImageLocation.getUncompressedSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$Resource;
public long compressedSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$Resource.loc:Ljdk/internal/jimage/ImageLocation;
invokevirtual jdk.internal.jimage.ImageLocation.getCompressedSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$Resource;
public java.lang.String extension();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$Resource.loc:Ljdk/internal/jimage/ImageLocation;
invokevirtual jdk.internal.jimage.ImageLocation.getExtension:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$Resource;
public long contentOffset();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jimage.ImageReader$Resource.loc:Ljdk/internal/jimage/ImageLocation;
invokevirtual jdk.internal.jimage.ImageLocation.getContentOffset:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jimage/ImageReader$Resource;
}
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
Resource = jdk.internal.jimage.ImageReader$Resource of jdk.internal.jimage.ImageReader