public class jdk.internal.jmod.JmodFile$Entry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: jdk.internal.jmod.JmodFile$Entry
super_class: java.lang.Object
{
private final java.util.zip.ZipEntry zipEntry;
descriptor: Ljava/util/zip/ZipEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.internal.jmod.JmodFile$Section section;
descriptor: Ljdk/internal/jmod/JmodFile$Section;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final java.util.Map<java.lang.String, jdk.internal.jmod.JmodFile$Section> NAME_TO_SECTION;
descriptor: Ljava/util/Map;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/internal/jmod/JmodFile$Section;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: invokestatic jdk.internal.jmod.JmodFile$Section.values:()[Ljdk/internal/jmod/JmodFile$Section;
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/internal/jmod/JmodFile$Section.jmodDir()Ljava/lang/String; (5)
(Ljdk/internal/jmod/JmodFile$Section;)Ljava/lang/String;
invokestatic java.util.function.Function.identity:()Ljava/util/function/Function;
invokestatic java.util.stream.Collectors.toMap:(Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Map
2: putstatic jdk.internal.jmod.JmodFile$Entry.NAME_TO_SECTION:Ljava/util/Map;
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.util.zip.ZipEntry);
descriptor: (Ljava/util/zip/ZipEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
bipush 47
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 3: iload 3
iconst_1
if_icmpgt 5
4: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "invalid jmod entry: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: jdk.internal.jmod.JmodFile$Entry java.util.zip.ZipEntry java.lang.String int
StackMap stack:
aload 0
aload 1
putfield jdk.internal.jmod.JmodFile$Entry.zipEntry:Ljava/util/zip/ZipEntry;
6: aload 0
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic jdk.internal.jmod.JmodFile$Entry.section:(Ljava/lang/String;)Ljdk/internal/jmod/JmodFile$Section;
putfield jdk.internal.jmod.JmodFile$Entry.section:Ljdk/internal/jmod/JmodFile$Section;
7: aload 0
aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield jdk.internal.jmod.JmodFile$Entry.name:Ljava/lang/String;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/jmod/JmodFile$Entry;
0 9 1 e Ljava/util/zip/ZipEntry;
2 9 2 name Ljava/lang/String;
3 9 3 i I
MethodParameters:
Name Flags
e
public jdk.internal.jmod.JmodFile$Section section();
descriptor: ()Ljdk/internal/jmod/JmodFile$Section;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jmod.JmodFile$Entry.section:Ljdk/internal/jmod/JmodFile$Section;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jmod/JmodFile$Entry;
public java.lang.String name();
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.jmod.JmodFile$Entry.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jmod/JmodFile$Entry;
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.jmod.JmodFile$Entry.zipEntry:Ljava/util/zip/ZipEntry;
invokevirtual java.util.zip.ZipEntry.isDirectory:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jmod/JmodFile$Entry;
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.jmod.JmodFile$Entry.zipEntry:Ljava/util/zip/ZipEntry;
invokevirtual java.util.zip.ZipEntry.getSize:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jmod/JmodFile$Entry;
public java.util.zip.ZipEntry zipEntry();
descriptor: ()Ljava/util/zip/ZipEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.jmod.JmodFile$Entry.zipEntry:Ljava/util/zip/ZipEntry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jmod/JmodFile$Entry;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.jmod.JmodFile$Entry.section:Ljdk/internal/jmod/JmodFile$Section;
invokevirtual jdk.internal.jmod.JmodFile$Section.jmodDir:()Ljava/lang/String;
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
getfield jdk.internal.jmod.JmodFile$Entry.name: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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/jmod/JmodFile$Entry;
static jdk.internal.jmod.JmodFile$Section section(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/jmod/JmodFile$Section;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: getstatic jdk.internal.jmod.JmodFile$Entry.NAME_TO_SECTION:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid section: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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:
getstatic jdk.internal.jmod.JmodFile$Entry.NAME_TO_SECTION:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.jmod.JmodFile$Section
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "JmodFile.java"
NestHost: jdk.internal.jmod.JmodFile
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Entry = jdk.internal.jmod.JmodFile$Entry of jdk.internal.jmod.JmodFile
public final Section = jdk.internal.jmod.JmodFile$Section of jdk.internal.jmod.JmodFile