final class jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry extends jdk.tools.jlink.internal.AbstractResourcePoolEntry
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry
super_class: jdk.tools.jlink.internal.AbstractResourcePoolEntry
{
private final jdk.tools.jlink.internal.Archive$Entry entry;
descriptor: Ljdk/tools/jlink/internal/Archive$Entry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$jdk$tools$jlink$internal$Archive$Entry$EntryType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(java.lang.String, java.lang.String, jdk.tools.jlink.internal.Archive$Entry);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/tools/jlink/internal/Archive$Entry;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.tools.jlink.internal.Archive$Entry
invokestatic jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry.getImageFileType:(Ljdk/tools/jlink/internal/Archive$Entry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
invokespecial jdk.tools.jlink.internal.AbstractResourcePoolEntry.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;)V
1: aload 0
aload 3
putfield jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry.entry:Ljdk/tools/jlink/internal/Archive$Entry;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/ArchiveEntryResourcePoolEntry;
0 3 1 module Ljava/lang/String;
0 3 2 path Ljava/lang/String;
0 3 3 entry Ljdk/tools/jlink/internal/Archive$Entry;
MethodParameters:
Name Flags
module
path
entry
public java.io.InputStream content();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry.entry:Ljdk/tools/jlink/internal/Archive$Entry;
invokevirtual jdk.tools.jlink.internal.Archive$Entry.stream:()Ljava/io/InputStream;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: 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 4 0 this Ljdk/tools/jlink/internal/ArchiveEntryResourcePoolEntry;
3 4 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
public long contentLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry.entry:Ljdk/tools/jlink/internal/Archive$Entry;
invokevirtual jdk.tools.jlink.internal.Archive$Entry.size:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ArchiveEntryResourcePoolEntry;
private static jdk.tools.jlink.plugin.ResourcePoolEntry$Type getImageFileType(jdk.tools.jlink.internal.Archive$Entry);
descriptor: (Ljdk/tools/jlink/internal/Archive$Entry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: invokestatic jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry.$SWITCH_TABLE$jdk$tools$jlink$internal$Archive$Entry$EntryType:()[I
aload 0
invokevirtual jdk.tools.jlink.internal.Archive$Entry.type:()Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
iaload
tableswitch { // 2 - 8
2: 1
3: 2
4: 7
5: 6
6: 3
7: 4
8: 5
default: 8
}
1: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.CLASS_OR_RESOURCE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
areturn
2: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.CONFIG:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
areturn
3: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.HEADER_FILE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
areturn
4: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.LEGAL_NOTICE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
areturn
5: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.MAN_PAGE:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
areturn
6: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.NATIVE_CMD:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
areturn
7: StackMap locals:
StackMap stack:
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.NATIVE_LIB:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
areturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown archive entry type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.tools.jlink.internal.Archive$Entry.type:()Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 entry Ljdk/tools/jlink/internal/Archive$Entry;
MethodParameters:
Name Flags
entry
static int[] $SWITCH_TABLE$jdk$tools$jlink$internal$Archive$Entry$EntryType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry.$SWITCH_TABLE$jdk$tools$jlink$internal$Archive$Entry$EntryType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.tools.jlink.internal.Archive$Entry$EntryType.values:()[Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.CLASS_OR_RESOURCE:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.CONFIG:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.HEADER_FILE:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
bipush 6
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.LEGAL_NOTICE:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
bipush 7
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.MAN_PAGE:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
bipush 8
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.MODULE_NAME:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
iconst_1
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.NATIVE_CMD:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
iconst_5
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.NATIVE_LIB:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
iconst_4
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic jdk.tools.jlink.internal.Archive$Entry$EntryType.SERVICE:Ljdk/tools/jlink/internal/Archive$Entry$EntryType;
invokevirtual jdk.tools.jlink.internal.Archive$Entry$EntryType.ordinal:()I
bipush 9
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
dup
putstatic jdk.tools.jlink.internal.ArchiveEntryResourcePoolEntry.$SWITCH_TABLE$jdk$tools$jlink$internal$Archive$Entry$EntryType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
}
SourceFile: "ArchiveEntryResourcePoolEntry.java"
InnerClasses:
public abstract Entry = jdk.tools.jlink.internal.Archive$Entry of jdk.tools.jlink.internal.Archive
public final EntryType = jdk.tools.jlink.internal.Archive$Entry$EntryType of jdk.tools.jlink.internal.Archive$Entry
public final Type = jdk.tools.jlink.plugin.ResourcePoolEntry$Type of jdk.tools.jlink.plugin.ResourcePoolEntry