public final class jdk.tools.jlink.internal.ImageLocationWriter extends jdk.internal.jimage.ImageLocation
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.ImageLocationWriter
super_class: jdk.internal.jimage.ImageLocation
{
private int locationOffset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/tools/jlink/internal/ImageLocationWriter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.tools.jlink.internal.ImageLocationWriter.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(jdk.tools.jlink.internal.ImageStringsWriter);
descriptor: (Ljdk/tools/jlink/internal/ImageStringsWriter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
bipush 8
newarray 11
aload 1
invokespecial jdk.internal.jimage.ImageLocation.<init>:([JLjdk/internal/jimage/ImageStrings;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
0 2 1 strings Ljdk/tools/jlink/internal/ImageStringsWriter;
MethodParameters:
Name Flags
strings
void writeTo(jdk.internal.jimage.ImageStream);
descriptor: (Ljdk/internal/jimage/ImageStream;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jlink.internal.ImageLocationWriter.attributes:[J
invokestatic jdk.internal.jimage.ImageLocation.compress:([J)[B
astore 2
start local 2 1: aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageStream.getPosition:()I
putfield jdk.tools.jlink.internal.ImageLocationWriter.locationOffset:I
2: aload 1
aload 2
iconst_0
aload 2
arraylength
invokevirtual jdk.internal.jimage.ImageStream.put:([BII)Ljdk/internal/jimage/ImageStream;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
0 4 1 stream Ljdk/internal/jimage/ImageStream;
1 4 2 bytes [B
MethodParameters:
Name Flags
stream
private jdk.tools.jlink.internal.ImageLocationWriter addAttribute(int, long);
descriptor: (IJ)Ljdk/tools/jlink/internal/ImageLocationWriter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.tools.jlink.internal.ImageLocationWriter.$assertionsDisabled:Z
ifne 3
iload 1
ifle 2
1: iload 1
bipush 8
if_icmplt 3
StackMap locals:
StackMap stack:
2: new java.lang.AssertionError
dup
ldc "Invalid attribute kind"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.ImageLocationWriter.attributes:[J
iload 1
lload 2
lastore
4: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
0 5 1 kind I
0 5 2 value J
MethodParameters:
Name Flags
kind
value
private jdk.tools.jlink.internal.ImageLocationWriter addAttribute(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljdk/tools/jlink/internal/ImageLocationWriter;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 0
getfield jdk.tools.jlink.internal.ImageLocationWriter.strings:Ljdk/internal/jimage/ImageStrings;
aload 2
invokeinterface jdk.internal.jimage.ImageStrings.add:(Ljava/lang/String;)I
i2l
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(IJ)Ljdk/tools/jlink/internal/ImageLocationWriter;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
0 1 1 kind I
0 1 2 value Ljava/lang/String;
MethodParameters:
Name Flags
kind
value
static jdk.tools.jlink.internal.ImageLocationWriter newLocation(java.lang.String, jdk.tools.jlink.internal.ImageStringsWriter, long, long, long);
descriptor: (Ljava/lang/String;Ljdk/tools/jlink/internal/ImageStringsWriter;JJJ)Ljdk/tools/jlink/internal/ImageLocationWriter;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 0: ldc ""
astore 8
start local 8 1: ldc ""
astore 9
start local 9 2: ldc ""
astore 11
start local 11 3: aload 0
ldc "/modules/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
4: ldc "modules"
astore 8
5: aload 0
ldc "/modules/"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 10
start local 10 6: goto 25
end local 10 StackMap locals: java.lang.String jdk.tools.jlink.internal.ImageStringsWriter long long long java.lang.String java.lang.String top java.lang.String
StackMap stack:
7: aload 0
ldc "/packages/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
8: ldc "packages"
astore 8
9: aload 0
ldc "/packages/"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 10
start local 10 10: goto 25
end local 10 11: StackMap locals:
StackMap stack:
aload 0
bipush 47
iconst_1
invokevirtual java.lang.String.indexOf:(II)I
istore 12
start local 12 12: aload 0
invokevirtual java.lang.String.length:()I
iconst_2
if_icmplt 15
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 15
iload 12
iconst_m1
if_icmpeq 15
13: aload 0
iconst_1
iload 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
14: aload 0
iload 12
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
15: StackMap locals: int
StackMap stack:
aload 0
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 12
16: iconst_1
iload 12
if_icmpge 19
17: aload 0
iconst_0
iload 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
18: aload 0
iload 12
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
19: StackMap locals:
StackMap stack:
aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 12
20: iload 12
iconst_m1
if_icmpeq 24
21: aload 0
iconst_0
iload 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 22: aload 0
iload 12
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 11
23: goto 25
end local 10 24: StackMap locals:
StackMap stack:
aload 0
astore 10
end local 12 start local 10 25: StackMap locals: java.lang.String jdk.tools.jlink.internal.ImageStringsWriter long long long java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
new jdk.tools.jlink.internal.ImageLocationWriter
dup
aload 1
invokespecial jdk.tools.jlink.internal.ImageLocationWriter.<init>:(Ljdk/tools/jlink/internal/ImageStringsWriter;)V
26: iconst_1
aload 8
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(ILjava/lang/String;)Ljdk/tools/jlink/internal/ImageLocationWriter;
27: iconst_2
aload 9
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(ILjava/lang/String;)Ljdk/tools/jlink/internal/ImageLocationWriter;
28: iconst_3
aload 10
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(ILjava/lang/String;)Ljdk/tools/jlink/internal/ImageLocationWriter;
29: iconst_4
aload 11
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(ILjava/lang/String;)Ljdk/tools/jlink/internal/ImageLocationWriter;
30: iconst_5
lload 2
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(IJ)Ljdk/tools/jlink/internal/ImageLocationWriter;
31: bipush 6
lload 4
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(IJ)Ljdk/tools/jlink/internal/ImageLocationWriter;
32: bipush 7
lload 6
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.addAttribute:(IJ)Ljdk/tools/jlink/internal/ImageLocationWriter;
33: areturn
end local 11 end local 10 end local 9 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 fullName Ljava/lang/String;
0 34 1 strings Ljdk/tools/jlink/internal/ImageStringsWriter;
0 34 2 contentOffset J
0 34 4 compressedSize J
0 34 6 uncompressedSize J
1 34 8 moduleName Ljava/lang/String;
2 34 9 parentName Ljava/lang/String;
6 7 10 baseName Ljava/lang/String;
10 11 10 baseName Ljava/lang/String;
22 24 10 baseName Ljava/lang/String;
25 34 10 baseName Ljava/lang/String;
3 34 11 extensionName Ljava/lang/String;
12 25 12 offset I
MethodParameters:
Name Flags
fullName
strings
contentOffset
compressedSize
uncompressedSize
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc 16777619
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.hashCode:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
int hashCode(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 1
istore 2
start local 2 1: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getModuleOffset:()I
ifeq 5
2: ldc "/"
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
3: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getModule:()Ljava/lang/String;
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
4: ldc "/"
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
5: StackMap locals: int
StackMap stack:
aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getParentOffset:()I
ifeq 8
6: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getParent:()Ljava/lang/String;
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
7: ldc "/"
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getBase:()Ljava/lang/String;
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
9: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getExtensionOffset:()I
ifeq 12
10: ldc "."
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
11: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getExtension:()Ljava/lang/String;
iload 2
invokestatic jdk.internal.jimage.ImageStringsReader.unmaskedHashCode:(Ljava/lang/String;I)I
istore 2
12: StackMap locals:
StackMap stack:
iload 2
ldc 2147483647
iand
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
0 13 1 seed I
1 13 2 hash I
MethodParameters:
Name Flags
seed
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof jdk.tools.jlink.internal.ImageLocationWriter
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast jdk.tools.jlink.internal.ImageLocationWriter
astore 2
start local 2 5: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getModuleOffset:()I
aload 2
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getModuleOffset:()I
if_icmpne 10
6: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getParentOffset:()I
aload 2
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getParentOffset:()I
if_icmpne 10
7: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getBaseOffset:()I
aload 2
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getBaseOffset:()I
if_icmpne 10
8: aload 0
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getExtensionOffset:()I
aload 2
invokevirtual jdk.tools.jlink.internal.ImageLocationWriter.getExtensionOffset:()I
if_icmpne 10
9: iconst_1
ireturn
StackMap locals: jdk.tools.jlink.internal.ImageLocationWriter
StackMap stack:
10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
0 11 1 obj Ljava/lang/Object;
5 11 2 other Ljdk/tools/jlink/internal/ImageLocationWriter;
MethodParameters:
Name Flags
obj
int getLocationOffset();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jlink.internal.ImageLocationWriter.locationOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/ImageLocationWriter;
}
SourceFile: "ImageLocationWriter.java"