public class com.sun.imageio.plugins.common.LZWStringTable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.common.LZWStringTable
super_class: java.lang.Object
{
private static final int RES_CODES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final short HASH_FREE;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final short NEXT_FIRST;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private static final int MAXBITS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 12
private static final int MAXSTR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
private static final short HASHSIZE;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9973
private static final short HASHSTEP;
descriptor: S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2039
byte[] strChr;
descriptor: [B
flags: (0x0000)
short[] strNxt;
descriptor: [S
flags: (0x0000)
short[] strHsh;
descriptor: [S
flags: (0x0000)
short numStrings;
descriptor: S
flags: (0x0000)
int[] strLen;
descriptor: [I
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 4096
newarray 8
putfield com.sun.imageio.plugins.common.LZWStringTable.strChr:[B
2: aload 0
sipush 4096
newarray 9
putfield com.sun.imageio.plugins.common.LZWStringTable.strNxt:[S
3: aload 0
sipush 4096
newarray 10
putfield com.sun.imageio.plugins.common.LZWStringTable.strLen:[I
4: aload 0
sipush 9973
newarray 9
putfield com.sun.imageio.plugins.common.LZWStringTable.strHsh:[S
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/common/LZWStringTable;
public int addCharString(short, byte);
descriptor: (SB)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
sipush 4096
if_icmplt 2
1: ldc 65535
ireturn
2: StackMap locals:
StackMap stack:
iload 1
iload 2
invokestatic com.sun.imageio.plugins.common.LZWStringTable.hash:(SB)I
istore 3
start local 3 3: goto 5
4: StackMap locals: int
StackMap stack:
iload 3
sipush 2039
iadd
sipush 9973
irem
istore 3
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strHsh:[S
iload 3
saload
iconst_m1
if_icmpne 4
6: aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strHsh:[S
iload 3
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
sastore
7: aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strChr:[B
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
iload 2
bastore
8: iload 1
iconst_m1
if_icmpne 12
9: aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strNxt:[S
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
iconst_m1
sastore
10: aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strLen:[I
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
iconst_1
iastore
11: goto 14
12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strNxt:[S
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
iload 1
sastore
13: aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strLen:[I
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strLen:[I
iload 1
iaload
iconst_1
iadd
iastore
14: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
dup_x1
iconst_1
iadd
i2s
putfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/imageio/plugins/common/LZWStringTable;
0 15 1 index S
0 15 2 b B
3 15 3 hshidx I
MethodParameters:
Name Flags
index
b
public short findCharString(short, byte);
descriptor: (SB)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_m1
if_icmpne 2
1: iload 2
sipush 255
iand
i2s
ireturn
2: StackMap locals:
StackMap stack:
iload 1
iload 2
invokestatic com.sun.imageio.plugins.common.LZWStringTable.hash:(SB)I
istore 3
start local 3 3: goto 7
start local 4 4: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strNxt:[S
iload 4
saload
iload 1
if_icmpne 6
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strChr:[B
iload 4
baload
iload 2
if_icmpne 6
5: iload 4
i2s
ireturn
6: StackMap locals:
StackMap stack:
iload 3
sipush 2039
iadd
sipush 9973
irem
istore 3
end local 4 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strHsh:[S
iload 3
saload
dup
istore 4
start local 4 8: iconst_m1
if_icmpne 4
9: iconst_m1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/imageio/plugins/common/LZWStringTable;
0 10 1 index S
0 10 2 b B
3 10 3 hshidx I
4 7 4 nxtidx I
8 10 4 nxtidx I
MethodParameters:
Name Flags
index
b
public void clearTable(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strHsh:[S
iload 2
iconst_m1
sastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
sipush 9973
if_icmplt 3
end local 2 6: iconst_1
iload 1
ishl
iconst_2
iadd
istore 2
start local 2 7: iconst_0
istore 3
start local 3 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 0
iconst_m1
iload 3
i2b
invokevirtual com.sun.imageio.plugins.common.LZWStringTable.addCharString:(SB)I
pop
10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
iload 2
if_icmplt 9
end local 3 12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/imageio/plugins/common/LZWStringTable;
0 13 1 codesize I
2 6 2 q I
7 13 2 w I
8 12 3 q I
MethodParameters:
Name Flags
codesize
public static int hash(short, byte);
descriptor: (SB)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 8
ishl
i2s
iload 0
ixor
ldc 65535
iand
sipush 9973
irem
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 index S
0 1 1 lastbyte B
MethodParameters:
Name Flags
index
lastbyte
public int expandCode(byte[], int, short, int);
descriptor: ([BISI)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
bipush -2
if_icmpne 3
1: iload 4
iconst_1
if_icmpne 3
2: iconst_0
istore 4
3: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmpeq 5
4: iload 4
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strLen:[I
iload 3
iaload
if_icmpne 6
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strLen:[I
iload 3
iaload
iload 4
isub
istore 6
start local 6 7: aload 1
arraylength
iload 2
isub
istore 7
start local 7 8: iload 7
iload 6
if_icmple 11
9: iload 6
istore 5
start local 5 10: goto 12
end local 5 11: StackMap locals: com.sun.imageio.plugins.common.LZWStringTable byte[] int int int top int int
StackMap stack:
iload 7
istore 5
start local 5 12: StackMap locals: com.sun.imageio.plugins.common.LZWStringTable byte[] int int int int int int
StackMap stack:
iload 6
iload 5
isub
istore 8
start local 8 13: iload 2
iload 5
iadd
istore 9
start local 9 14: goto 18
15: StackMap locals: int int
StackMap stack:
iinc 8 -1
iload 8
ifge 17
16: aload 1
iinc 9 -1
iload 9
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strChr:[B
iload 3
baload
bastore
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strNxt:[S
iload 3
saload
istore 3
18: StackMap locals:
StackMap stack:
iload 9
iload 2
if_icmple 19
iload 3
iconst_m1
if_icmpne 15
19: StackMap locals:
StackMap stack:
iload 6
iload 5
if_icmple 21
20: iload 5
ineg
ireturn
21: StackMap locals:
StackMap stack:
iload 5
ireturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/imageio/plugins/common/LZWStringTable;
0 22 1 buf [B
0 22 2 offset I
0 22 3 code S
0 22 4 skipHead I
10 11 5 expandLen I
12 22 5 expandLen I
7 22 6 codeLen I
8 22 7 bufSpace I
13 22 8 skipTail I
14 22 9 idx I
MethodParameters:
Name Flags
buf
offset
code
skipHead
public void dump(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: sipush 258
istore 2
start local 2 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc " strNxt["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "] = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strNxt:[S
iload 2
saload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
3: ldc " strChr "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strChr:[B
iload 2
baload
sipush 255
iand
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc " strLen "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.strLen:[I
iload 2
iaload
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.imageio.plugins.common.LZWStringTable.numStrings:S
if_icmplt 2
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/common/LZWStringTable;
0 9 1 out Ljava/io/PrintStream;
1 9 2 i I
MethodParameters:
Name Flags
out
}
SourceFile: "LZWStringTable.java"